Skip to content

Commit 5c7083a

Browse files
committed
Sync tool config
1 parent 113100e commit 5c7083a

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

.php-cs-fixer.dist.php

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
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
88
For the full copyright and license information, please view the LICENSE
@@ -13,7 +13,8 @@
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,
@@ -43,15 +44,10 @@
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;

phpstan.neon.dist

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,13 @@ includes:
44
parameters:
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+

0 commit comments

Comments
 (0)