From 59cbdec9ac36b4fa08943a197f06b7ee0b4ebef7 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Mon, 24 Jun 2024 10:39:11 +0200 Subject: [PATCH] feat(CI): Speed up cs:check with parallelism Signed-off-by: Joas Schilling --- .php-cs-fixer.dist.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.php-cs-fixer.dist.php b/.php-cs-fixer.dist.php index 3411df2080..b13e84731f 100644 --- a/.php-cs-fixer.dist.php +++ b/.php-cs-fixer.dist.php @@ -9,9 +9,11 @@ declare(strict_types=1); require_once './vendor-bin/csfixer/vendor/autoload.php'; use Nextcloud\CodingStandard\Config; +use PhpCsFixer\Runner\Parallel\ParallelConfigFactory; $config = new Config(); $config + ->setParallelConfig(ParallelConfigFactory::detect()) ->getFinder() ->ignoreVCSIgnored(true) ->notPath('build')