diff --git a/.php_cs.dist b/.php-cs-fixer.dist.php similarity index 97% rename from .php_cs.dist rename to .php-cs-fixer.dist.php index 5c91b2b833c..1f1d74ce2c6 100644 --- a/.php_cs.dist +++ b/.php-cs-fixer.dist.php @@ -26,7 +26,7 @@ 'tests/Fixtures/app/console', ]); -return PhpCsFixer\Config::create() +return (new PhpCsFixer\Config()) ->setRiskyAllowed(true) ->setRules([ '@DoctrineAnnotation' => true, @@ -41,9 +41,6 @@ 'comment_type' => 'phpdocs_like', ], 'array_indentation' => true, - 'array_syntax' => [ - 'syntax' => 'short', - ], 'compact_nullable_typehint' => true, 'doctrine_annotation_array_assignment' => [ 'operator' => '=',