Skip to content

Commit ecb6770

Browse files
committed
clean up phpstan ignore notice
1 parent d3bb8ed commit ecb6770

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

phpstan.neon

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -35,20 +35,9 @@ parameters:
3535
# phpstan false positive
3636
- '#Parameter \#1 \$className of method Rector\\PhpParser\\AstResolver\:\:resolveClassMethod\(\) expects class\-string, string given#'
3737

38-
# false positive
39-
- '#Access to an undefined property Rector\\Contract\\PhpParser\\Node\\StmtsAwareInterface\:\:\$stmts#'
40-
4138
# more advanced usage, but not always working
4239
# see https://github.com/rectorphp/rector-src/actions/runs/11798721617/job/32865546672?pr=6422#step:5:110
4340
- '#Doing instanceof PHPStan\\Type\\.+ is error\-prone and deprecated#'
4441

4542
- identifier: instanceof.alwaysTrue
4643
- identifier: assign.propertyType
47-
48-
# not relevant
49-
- '#Method (.*?)provideMinPhpVersion\(\) never returns \d+ so it can be removed from the return type#'
50-
51-
# chicken-egg false positive
52-
-
53-
message: '#Parameter \#1 \$value of static method Webmozart\\Assert\\Assert\:\:isAOf\(\) expects object\|string, PhpParser\\Node\\Stmt\\Class_\|null given#'
54-
path: rules/AnnotationsToAttributes/Rector/Class_/AnnotationWithValueToAttributeRector.php

0 commit comments

Comments
 (0)