You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
552 B
23 lines
552 B
4 weeks ago
|
<?php
|
||
|
|
||
|
function php_cs() {
|
||
|
$finder = Symfony\CS\Finder\DefaultFinder::create()
|
||
|
->exclude('benchmarks')
|
||
|
->exclude('docs')
|
||
|
->exclude('util')
|
||
|
->exclude('.github')
|
||
|
->exclude('util')
|
||
|
->exclude('travis')
|
||
|
->exclude('util/cache')
|
||
|
->exclude('util/elasticsearch')
|
||
|
->exclude('vendor')
|
||
|
->in(__DIR__);
|
||
|
|
||
|
return Symfony\CS\Config\Config::create()
|
||
|
->setUsingCache(true)
|
||
|
->level(Symfony\CS\FixerInterface::PSR2_LEVEL)
|
||
|
->finder($finder);
|
||
|
}
|
||
|
|
||
|
return php_cs();
|