Run php-cs-fixer sequentially so the void_return src-only customiser is applied

This commit is contained in:
Fabien Potencier
2026-07-10 16:33:45 +02:00
parent 209a98402b
commit 71badee960
+3 -2
View File
@@ -34,12 +34,13 @@ return (new Config())
return false;
}
return !preg_match('#(^|/)tests/#', $file->getRelativePathname());
return !preg_match('#(^|/)tests/#i', $file->getRelativePathname());
},
];
}
})
->setRiskyAllowed(true)
->setParallelConfig(ParallelConfigFactory::detect())
// the void_return customiser above is dropped by parallel workers, so run sequentially
->setParallelConfig(ParallelConfigFactory::sequential())
->setFinder((new Finder())->in(__DIR__))
;