mirror of
https://github.com/friendica/friendica
synced 2024-12-30 13:56:29 +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)
|
|
;
|
|
|
|
|