tweaked default CS fixer config

This commit is contained in:
Fabien Potencier 2016-06-20 18:23:25 +02:00
parent a0cdcb0ffb
commit fdef8041f8
1 changed files with 5 additions and 0 deletions

View File

@ -3,6 +3,10 @@
return Symfony\CS\Config\Config::create()
->setUsingLinter(false)
->setUsingCache(true)
->fixers(array(
'long_array_syntax',
'php_unit_construct',
))
->finder(
Symfony\CS\Finder\DefaultFinder::create()
->in(__DIR__)
@ -12,6 +16,7 @@ return Symfony\CS\Config\Config::create()
'src/Symfony/Component/Routing/Tests/Fixtures/dumper',
// fixture templates
'src/Symfony/Component/Templating/Tests/Fixtures/templates',
'src/Symfony/Bundle/FrameworkBundle/Tests/Templating/Helper/Resources/Custom',
// resource templates
'src/Symfony/Bundle/FrameworkBundle/Resources/views/Form',
))