Add parallel thing

This commit is contained in:
James Cole 2024-05-16 07:30:07 +02:00
parent c9d9ecede4
commit acb3831c8b
No known key found for this signature in database
GPG Key ID: B49A324B7EAD6D80

View File

@ -19,6 +19,8 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
use PhpCsFixer\Runner\Parallel\ParallelConfigFactory;
$current = __DIR__;
$paths = [
@ -35,6 +37,7 @@ $finder = PhpCsFixer\Finder::create()
$config = new PhpCsFixer\Config();
$config->setParallelConfig(ParallelConfigFactory::detect());
return $config->setRules(
[
// rule sets