diff --git a/.php_cs.dist b/.php_cs.dist index a4d999f94..2a5df9ee6 100644 --- a/.php_cs.dist +++ b/.php_cs.dist @@ -1,16 +1,16 @@ setRules(array( + ->setRules([ '@Symfony' => true, '@Symfony:risky' => true, - 'array_syntax' => array('syntax' => 'short'), + 'array_syntax' => ['syntax' => 'short'], 'php_unit_fqcn_annotation' => false, 'no_unreachable_default_argument_value' => false, - 'braces' => array('allow_single_line_closure' => true), + 'braces' => ['allow_single_line_closure' => true], 'heredoc_to_nowdoc' => false, 'dir_constant' => false, - )) + ]) ->setRiskyAllowed(true) ->setFinder(PhpCsFixer\Finder::create()->in(__DIR__)) ;