1234567891011121314151617181920 |
- <?php
- $finder = PhpCsFixer\Finder::create()
- ->in([
- __DIR__.'/needs-fixing/',
- ])
- ->exclude([
- __DIR__.'/excluded/',
- ])
- ;
- $config = new PhpCsFixer\Config();
- return $config
- ->setUsingCache(false)
- ->setRules([
- '@Symfony' => true,
- ])
- ->setRiskyAllowed(true)
- ->setFinder($finder)
- ;
|