File tree Expand file tree Collapse file tree 2 files changed +12
-12
lines changed
Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Original file line number Diff line number Diff line change 11<?php
22
3- $ header = <<<EOF
4- This file is part of the NucleosProfileBundle package.
3+ use PhpCsFixer \Runner \Parallel \ParallelConfigFactory ;
54
5+ $ header = <<<EOF
66(c) Christian Gripp <mail@core23.de>
77
88For the full copyright and license information, please view the LICENSE
1313 ->in ([ __DIR__ .'/src ' , __DIR__ .'/tests ' ])
1414;
1515
16- $ config = (new PhpCsFixer \Config ())
16+ return (new PhpCsFixer \Config ())
17+ ->setParallelConfig (ParallelConfigFactory::detect ())
1718 ->setRiskyAllowed (true )
1819 ->setRules ([
1920 '@Symfony ' => true ,
4344 ],
4445 'static_lambda ' => true ,
4546 'global_namespace_import ' => [
46- 'import_classes ' => true ,
47- 'import_constants ' => false ,
48- 'import_functions ' => false ,
49- ],
50- 'phpdoc_to_comment ' => [
51- 'ignored_tags ' => ['psalm-suppress ' ],
47+ 'import_classes ' => true ,
48+ 'import_constants ' => false ,
49+ 'import_functions ' => false ,
5250 ],
5351 ])
54- ->setFinder ($ finder )
55- ;
52+ ->setFinder ($ finder );
5653
57- return $ config ;
Original file line number Diff line number Diff line change @@ -4,9 +4,13 @@ includes:
44parameters:
55 level: 8
66
7+ parallel:
8+ maximumNumberOfProcesses: 4
9+
710 paths:
811 - src
912 - tests
1013
1114 bootstrapFiles:
1215 - vendor-bin/tools/vendor/autoload.php
16+
You can’t perform that action at this time.
0 commit comments