From c2c13b5d6959b4ee035281cc844ab942e3f186ab Mon Sep 17 00:00:00 2001 From: Vincent Amstoutz Date: Wed, 4 Dec 2024 15:24:41 +0100 Subject: [PATCH] ci: add parallel execution for php-cs-fixer Enable parallel execution by configuring PHP-CS-Fixer with automatic detection of optimal parallel settings using the `ParallelConfigFactory::detect` method. This improves performance in environments that support parallel processing. --- .php-cs-fixer.dist.php | 1 + 1 file changed, 1 insertion(+) diff --git a/.php-cs-fixer.dist.php b/.php-cs-fixer.dist.php index 15de4411c44..7e08cafe186 100644 --- a/.php-cs-fixer.dist.php +++ b/.php-cs-fixer.dist.php @@ -29,6 +29,7 @@ ]); return (new PhpCsFixer\Config()) + ->setParallelConfig(PhpCsFixer\Runner\Parallel\ParallelConfigFactory::detect()) ->setRiskyAllowed(true) ->setRules([ '@DoctrineAnnotation' => true,