mirror of
https://github.com/friendica/friendica
synced 2024-12-22 06:07:27 +01:00
24 lines
484 B
PHP
24 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)
|
|
;
|
|
|
|
|