Created
December 9, 2016 21:15
-
-
Save ABM-Dan/d65c0a1ac759d3c74162a7145e5d91e6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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__) | |
) | |
; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment