We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db51ca2 commit 2f000faCopy full SHA for 2f000fa
.php-cs-fixer.php
@@ -1,13 +1,18 @@
1
<?php
2
3
-$finder = PhpCsFixer\Finder::create()
+use PhpCsFixer\Finder as PhpCsFixerFinder;
4
+use PhpCsFixer\Config as PhpCsFixerConfig;
5
+use PhpCsFixer\Runner\Parallel\ParallelConfigFactory;
6
+
7
+$finder = PhpCsFixerFinder::create()
8
->in(__DIR__)
9
->exclude('vendor')
10
->exclude('vendor-bin')
11
;
12
-$config = new PhpCsFixer\Config();
13
+$config = new PhpCsFixerConfig();
14
return $config
15
+ ->setParallelConfig(ParallelConfigFactory::detect())
16
->setRules([
17
'@PER-CS' => true,
18
'binary_operator_spaces' => ['default' => 'at_least_single_space', 'operators' => ['=>' => 'align']],
0 commit comments