diff --git a/src/Config.php b/src/Config.php index 5bc30e9..fa3ae3e 100644 --- a/src/Config.php +++ b/src/Config.php @@ -5,6 +5,7 @@ namespace Redaxo\PhpCsFixerConfig; use PhpCsFixer\ConfigInterface; +use PhpCsFixer\Runner\Parallel\ParallelConfigFactory; use PhpCsFixerCustomFixers\Fixer\MultilinePromotedPropertiesFixer; use PhpCsFixerCustomFixers\Fixer\PhpdocSingleLineVarFixer; use PhpCsFixerCustomFixers\Fixers; @@ -24,6 +25,7 @@ public function __construct(string $name = 'REDAXO 5') parent::__construct($name); $this->setUsingCache(true); + $this->setParallelConfig(ParallelConfigFactory::detect()); $this->setRiskyAllowed(true); $this->registerCustomFixers(new Fixers()); $this->registerCustomFixers([