Skip to content

Commit e88b235

Browse files
committed
cleanup ignored phpstan notice
1 parent c019f4e commit e88b235

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

phpstan.neon

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,6 @@ parameters:
4848

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

51-
# phpstan need to load rector nodes first to avoid this
52-
- '#Access to an undefined property Rector\\Contract\\PhpParser\\Node\\StmtsAwareInterface\:\:\$stmts#'
53-
5451
-
5552
message: '#Parameter \#1 \$attributeClass of class Rector\\DowngradePhp80\\ValueObject\\DowngradeAttributeToAnnotation constructor expects class\-string, string given#'
5653
path: "config/*"
@@ -70,7 +67,6 @@ parameters:
7067
identifier: argument.type
7168

7269
- '#Asking about instanceof PHPStan\\.* is not covered by backward compatibility promise#'
73-
- '#Method Rector\\(.*?)\\Rector\\FuncCall\\(.*?)::refactor\(\) never returns \d so it can be removed from the return type#'
7470

7571
# false positive intanceof in OR usage
7672
-

0 commit comments

Comments
 (0)