Browse Source
feat(CI): Speed up cs:check with parallelism
Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/46062/head
Joas Schilling
1 year ago
No known key found for this signature in database
GPG Key ID: 74434EFE0D2E2205
1 changed files with
2 additions and
0 deletions
-
.php-cs-fixer.dist.php
|
|
@ -8,9 +8,11 @@ declare(strict_types=1); |
|
|
|
require_once './vendor-bin/cs-fixer/vendor/autoload.php'; |
|
|
|
|
|
|
|
use Nextcloud\CodingStandard\Config; |
|
|
|
use PhpCsFixer\Runner\Parallel\ParallelConfigFactory; |
|
|
|
|
|
|
|
$config = new Config(); |
|
|
|
$config |
|
|
|
->setParallelConfig(ParallelConfigFactory::detect()) |
|
|
|
->getFinder() |
|
|
|
->ignoreVCSIgnored(true) |
|
|
|
->exclude('config') |
|
|
|