Skip to content

Commit

Permalink
Chore: enable parallel mode for php-cs-fixer (#10232)
Browse files Browse the repository at this point in the history
  • Loading branch information
ottaviano authored May 17, 2024
1 parent 28da739 commit 11cf4dc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

use PhpCsFixer\Runner\Parallel\ParallelConfigFactory;

$finder = PhpCsFixer\Finder::create()
->in(__DIR__.'/src')
->in(__DIR__.'/tests')
Expand All @@ -9,6 +11,7 @@
;

return (new PhpCsFixer\Config())
->setParallelConfig(ParallelConfigFactory::detect())
->setRules([
'@PHP82Migration' => true,
'@PHP80Migration:risky' => true,
Expand Down

0 comments on commit 11cf4dc

Please sign in to comment.