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
parent
commit
2f978081ea
No known key found for this signature in database GPG Key ID: 74434EFE0D2E2205
  1. 2
      .php-cs-fixer.dist.php

2
.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')

Loading…
Cancel
Save