Created
February 8, 2018 08:33
-
-
Save daison12006013/b0ab677c7fc3b7914542d42a89239890 to your computer and use it in GitHub Desktop.
PHP CS Fixer Config
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
<?php | |
use PhpCsFixer\Config; | |
use PhpCsFixer\Finder; | |
use PhpCsFixer\FixerInterface; | |
$finder = Finder::create()->in([ | |
__DIR__.'/app', | |
__DIR__.'/Plus65', | |
]); | |
return Config::create() | |
->setRules([ | |
'@PSR2' => true, | |
'no_empty_phpdoc' => true, | |
'no_empty_comment' => true, | |
'no_closing_tag' => true, | |
'no_trailing_whitespace' => true, | |
]) | |
->setFinder($finder) | |
->setUsingCache(false); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment