Skip to content

Commit 6d54350

Browse files
authored
Clean up PHPStan ignore errors (#330)
1 parent af6705b commit 6d54350

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

phpstan.neon

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,21 +38,13 @@ parameters:
3838
# php enum value minus
3939
- '#Parameter \#1 \$phpVersion of method Rector\\Config\\RectorConfig\:\:phpVersion\(\) expects (.*?), (.*?) given#'
4040

41-
# part of implicit contract
42-
- '#Call to an undefined method PHPStan\\Type\\ConstantType\:\:getValue\(\)#'
43-
4441
- '#Calling PHPStan\\Reflection\\Native\\NativeFunctionReflection\:\:getName\(\) is not covered by backward compatibility promise\. The method might change in a minor PHPStan version#'
4542

4643
- '#Parameter \#3 \$stmt of method Rector\\DowngradePhp72\\Rector\\FuncCall\\DowngradePregUnmatchedAsNullConstantRector\:\:processReplace\(\) expects PhpParser\\Node\\Stmt, PhpParser\\Node given#'
4744

4845
- '#(.*?)\:\:refactor\(\) should return array<PhpParser\\Node\\Stmt>\|PhpParser\\Node\\Stmt\\ClassConst\|null but returns array<PhpParser\\Node\\Stmt>\|PhpParser\\Node\\Stmt\|null#'
4946

50-
-
51-
message: '#Use value object over return of values#'
52-
path: rules/DowngradePhp80/Rector/Expression/DowngradeThrowExprRector.php
53-
5447
# phpstan need to load rector nodes first to avoid this
55-
- '#Rector\\Core\\Contract\\PhpParser\\Node\\StmtsAwareInterface#'
5648
- '#Access to an undefined property Rector\\Contract\\PhpParser\\Node\\StmtsAwareInterface\:\:\$stmts#'
5749

5850
-

0 commit comments

Comments
 (0)