25 lines
484 B
PHP
25 lines
484 B
PHP
<?php
|
|
|
|
use Symfony\CS\FixerInterface;
|
|
|
|
$finder = Symfony\CS\Finder\DefaultFinder::create()
|
|
->notName('LICENSE')
|
|
->notName('README.md')
|
|
->notName('.php_cs')
|
|
->notName('composer.*')
|
|
->notName('phpunit.xml*')
|
|
->notName('*.phar')
|
|
->exclude('vendor')
|
|
->exclude('examples')
|
|
->exclude('Symfony/CS/Tests/Fixer')
|
|
->notName('ElseifFixer.php')
|
|
->exclude('data')
|
|
->in(__DIR__)
|
|
;
|
|
|
|
return Symfony\CS\Config\Config::create()
|
|
->finder($finder)
|
|
;
|
|
|
|
|