Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env php
- <?php
- return PhpCsFixer\Config::create()
- ->setRiskyAllowed(true)
- ->setRules([
- '@Symfony' => true,
- '@Symfony:risky' => true,
- 'array_syntax' => ['syntax' => 'short'],
- 'ordered_imports' => true,
- 'phpdoc_order' => true,
- ])
- ->setFinder(
- PhpCsFixer\Finder::create()
- ->exclude([
- 'app/config',
- 'app/data',
- 'app/Resources',
- 'var',
- 'web/bundles',
- 'web/css',
- 'web/fonts',
- 'web/js',
- ])
- ->notPath('web/config.php')
- ->in(__DIR__)
- )
- ;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement