Skip to content

Commit 880b667

Browse files
authored
Upgrade php-cs-fixer and use it in parallel (#6)
1 parent 6dd7c44 commit 880b667

File tree

3 files changed

+756
-44
lines changed

3 files changed

+756
-44
lines changed

app/.php-cs-fixer.dist.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535

3636
use PhpCsFixer\Config;
3737
use PhpCsFixer\Finder;
38+
use PhpCsFixer\Runner\Parallel\ParallelConfigFactory;
3839

3940
$header = \trim(
4041
<<<'TXT'
@@ -89,6 +90,7 @@
8990
;
9091

9192
return (new Config())
93+
->setParallelConfig(ParallelConfigFactory::detect())
9294
->setRiskyAllowed(true)
9395
->setRules([
9496
'@PHP71Migration' => true,

0 commit comments

Comments
 (0)