N°8796 - Parallelize processing to reduce local env. delay

This commit is contained in:
Molkobain
2025-11-13 20:14:46 +01:00
parent f86fc16d3f
commit da2ce04fce

View File

@@ -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'],