Skip to content

Commit 6fe0614

Browse files
authored
Merge pull request #11267 from nextcloud/ci/cs-fixer-parallel-runs
ci: use parallelism for cs-fixer
2 parents ac5a9dd + f80182f commit 6fe0614

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.php-cs-fixer.dist.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,11 @@
88
require_once './vendor-bin/cs-fixer/vendor/autoload.php';
99

1010
use Nextcloud\CodingStandard\Config;
11+
use PhpCsFixer\Runner\Parallel\ParallelConfigFactory;
1112

1213
$config = new Config();
1314
$config
15+
->setParallelConfig(ParallelConfigFactory::detect())
1416
->getFinder()
1517
->ignoreVCSIgnored(true)
1618
->notPath('build')

0 commit comments

Comments
 (0)