fixed .php_cs CS

This commit is contained in:
Fabien Potencier
2019-01-08 16:20:52 +01:00
parent 8753069c88
commit d39f6a87a0
+4 -4
View File
@@ -1,16 +1,16 @@
<?php
return PhpCsFixer\Config::create()
->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__))
;