diff --git a/.php_cs b/.php_cs index be623c27..0c58b541 100644 --- a/.php_cs +++ b/.php_cs @@ -11,6 +11,7 @@ return $config->setRules([ '@PSR12' => true, 'fully_qualified_strict_types' => true, 'array_syntax' => ['syntax' => 'short'], + 'visibility_required' => ['property', 'method'],// 'const' is removed for old PHP compat ]) ->setFinder($finder) ;