Skip to content

Commit 0e7b5f6

Browse files
committed
enabled parallel runner
1 parent c100e9e commit 0e7b5f6

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

fix.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@
119119
. ' --extensions=php,phpt'
120120
. ' --runtime-set ignore_warnings_on_exit true'
121121
. ' --no-cache'
122+
. ' --parallel=10'
122123
. ' --standard=' . escapeshellarg($presetFile)
123124
. ' --file-list=' . escapeshellarg($fileList),
124125
$code

preset-fixer/base.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
new NetteCodingStandard\Fixer\FunctionNotation\MethodArgumentSpaceFixer,
1616
new NetteCodingStandard\Fixer\FunctionNotation\FunctionDeclarationFixer,
1717
]);
18+
$config->setParallelConfig(PhpCsFixer\Runner\Parallel\ParallelConfigFactory::detect());
1819
$config->registerCustomFixers(new PhpCsFixerCustomFixers\Fixers);
1920
$config->setUsingCache(false);
2021
$config->setIndent("\t");

0 commit comments

Comments
 (0)