Skip to content

Commit ae79b13

Browse files
committed
chore: parallel php-cs-fixer
1 parent 0eb3b24 commit ae79b13

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.php-cs-fixer.dist.php

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
use PhpCsFixer\Runner\Parallel\ParallelConfigFactory;
4+
35
$finder = PhpCsFixer\Finder::create()
46
->notPath('vendor')
57
->in(__DIR__)
@@ -11,6 +13,7 @@
1113
$config = new PhpCsFixer\Config();
1214

1315
$config
16+
->setParallelConfig(ParallelConfigFactory::detect())
1417
->setLineEnding("\n")
1518
->setCacheFile(__DIR__.'/.php-cs-fixer.cache')
1619
->setIndent(' ')

0 commit comments

Comments
 (0)