From f4db6c09e40433732eeb2d77f9fb0ea5607e2937 Mon Sep 17 00:00:00 2001 From: Alan Poulain Date: Thu, 6 May 2021 11:19:55 +0200 Subject: [PATCH] chore: change configuration file for php-cs-fixer 3 --- .php_cs.dist => .php-cs-fixer.dist.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) rename .php_cs.dist => .php-cs-fixer.dist.php (97%) 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' => '=',