Skip to content

Commit 2897c4f

Browse files
ci: add parallel execution for php-cs-fixer (#6846)
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.
1 parent ba0c855 commit 2897c4f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.php-cs-fixer.dist.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
]);
3030

3131
return (new PhpCsFixer\Config())
32+
->setParallelConfig(PhpCsFixer\Runner\Parallel\ParallelConfigFactory::detect())
3233
->setRiskyAllowed(true)
3334
->setRules([
3435
'@DoctrineAnnotation' => true,

0 commit comments

Comments
 (0)