11includes :
22 - dev-tools/vendor/jangregor/phpstan-prophecy/src/extension.neon
3+ - dev-tools/vendor/phpstan/phpstan/conf/bleedingEdge.neon
34 - dev-tools/vendor/phpstan/phpstan-phpunit/extension.neon
45
56parameters :
6- level : 3
7+ level : 5
78 paths :
89 - src
910 - tests
@@ -16,3 +17,33 @@ parameters:
1617 -
1718 message : ' /^Unsafe usage of new static\(\)\.$/'
1819 path : src/Config.php
20+ -
21+ message : ' /^Else branch is unreachable because previous condition is always true\.$/'
22+ path : src/Event/Event.php
23+ -
24+ message : ' /^Strict comparison using !== between ' ' @git-commit@' ' and ' ' @git-commit@' ' will always evaluate to false\.$/'
25+ path : src/Console/Application.php
26+ -
27+ message : ' /^Result of && is always false\.$/'
28+ path : src/Config.php
29+ -
30+ message : ' /^Strict comparison using === between false and true will always evaluate to false\.$/'
31+ path : src/Config.php
32+ -
33+ message : ' /^Else branch is unreachable because ternary operator condition is always true\.$/'
34+ paths :
35+ - src/Config.php
36+ - src/Tokenizer/Token.php
37+ -
38+ message : ' /^Parameter #1 \$fixers of method PhpCsFixer\\Config::registerCustomFixers\(\) expects iterable<PhpCsFixer\\Fixer\\FixerInterface>, string given\.$/'
39+ path : tests/ConfigTest.php
40+ -
41+ message : ' /^Parameter #1 \$options of method PhpCsFixer\\FixerConfiguration\\FixerConfigurationResolverRootless::resolve\(\) expects array<string, mixed>, array<int, string> given\.$/'
42+ path : tests/FixerConfiguration/FixerConfigurationResolverRootlessTest.php
43+ -
44+ message : ' /^Parameter #1 \$function of function register_shutdown_function expects callable\(\): void, array\(\$this\(PhpCsFixer\\FileRemoval\), ' ' clean' ' \) given\.$/'
45+ path : src/FileRemoval.php
46+ -
47+ message : ' /^Parameter #1 \$finder of method PhpCsFixer\\Config::setFinder\(\) expects iterable<string>, int given\.$/'
48+ path : tests/ConfigTest.php
49+ tipsOfTheDay : false
0 commit comments