diff options
author | Joas Schilling <coding@schilljs.com> | 2024-06-24 10:40:15 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2024-06-24 10:40:15 +0200 |
commit | 2f978081ea967922917ebb6fa02490dd5a21126b (patch) | |
tree | 8f17595ea17a4eff68ef817d6c35e171c513d14b | |
parent | 02452712a20b9be2c638e9bea80102b9926d482b (diff) | |
download | nextcloud-server-2f978081ea967922917ebb6fa02490dd5a21126b.tar.gz nextcloud-server-2f978081ea967922917ebb6fa02490dd5a21126b.zip |
feat(CI): Speed up cs:check with parallelism
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r-- | .php-cs-fixer.dist.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.php-cs-fixer.dist.php b/.php-cs-fixer.dist.php index 6354c24bfae..c6ce8bbea34 100644 --- a/.php-cs-fixer.dist.php +++ b/.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') |