diff --git a/tests/php-code-style/.php-cs-fixer.dist.php b/tests/php-code-style/.php-cs-fixer.dist.php index 22c91495a..373d97887 100644 --- a/tests/php-code-style/.php-cs-fixer.dist.php +++ b/tests/php-code-style/.php-cs-fixer.dist.php @@ -22,9 +22,11 @@ $finder = PhpCsFixer\Finder::create() ; $config = new PhpCsFixer\Config(); -return $config->setRiskyAllowed(true) +return $config + ->setParallelConfig(PhpCsFixer\Runner\Parallel\ParallelConfigFactory::detect()) + ->setRiskyAllowed(true) ->setRules([ - '@PSR12' => true, + '@PSR12' => true, 'indentation_type' => true, 'no_extra_blank_lines' => true, 'array_syntax' => ['syntax' => 'short'],