Last active
July 27, 2022 03:30
-
-
Save orrisroot/ac2b872336e0218cf14b03d0821422b6 to your computer and use it in GitHub Desktop.
default php-cs-fixer configuration for my projects
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 | |
declare(strict_types=1); | |
$config = new PhpCsFixer\Config(); | |
return $config | |
->setRiskyAllowed(true) | |
->setRules([ | |
'@Symfony' => true, | |
'@Symfony:risky' => true, | |
]) | |
->setFinder(PhpCsFixer\Finder::create() | |
->exclude('vendor') | |
->in(__DIR__) | |
) | |
; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment