Skip to content

Commit

Permalink
Run PHP-CS-Fixer in parallel (#9739)
Browse files Browse the repository at this point in the history
* Run PHP-CS-Fixer in parallel

* Use use, just like the rest of the code
  • Loading branch information
melroy89 authored Jan 26, 2025
1 parent 8386db4 commit 62179e0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

use PhpCsFixer\Config;
use PhpCsFixer\Finder;
use PhpCsFixer\Runner\Parallel\ParallelConfigFactory;

$finder = Finder::create()
->in([__DIR__])
Expand All @@ -14,6 +15,7 @@
->name('*.sh');

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

0 comments on commit 62179e0

Please sign in to comment.