-
-
Save nickclasener/8406bc197e78857745cc3c05e89fb263 to your computer and use it in GitHub Desktop.
PHP CS Fixer - Laravel Ruleset
This file contains 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 | |
$finder = PhpCsFixer\Finder::create() | |
->exclude('somedir') | |
->notPath('src/Symfony/Component/Translation/Tests/fixtures/resources.php') | |
->in(__DIR__); | |
return PhpCsFixer\Config::create() | |
->setRules([ | |
'@PSR2' => true, | |
'strict_param' => true, | |
'array_syntax' => ['syntax' => 'short'], | |
]) | |
->setFinder($finder) | |
->setUsingCache(true); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment