You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: phpstan.neon
+25-4Lines changed: 25 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,8 @@ includes:
3
3
- config/naming-rules.neon
4
4
5
5
parameters:
6
+
treatPhpDocTypesAsCertain:false
7
+
6
8
level:8
7
9
8
10
paths:
@@ -38,8 +40,6 @@ parameters:
38
40
39
41
- '#Method Symplify\\PHPStanRules\\Reflection\\ReflectionParser\:\:parseNativeClassReflection\(\) has parameter \$reflectionClass with generic class ReflectionClass but does not specify its types\:T#'
40
42
41
-
- '#Method Symplify\\PHPStanRules\\NodeFinder\\TypeAwareNodeFinder\:\:findFirstInstanceOf\(\) should return \(TNode of PhpParser\\Node\)\|null but returns PhpParser\\Node\|null#'
42
-
43
43
# overly detailed
44
44
- '#Class Symplify\\PHPStanRules\\(.*?) extends generic class PHPStan\\Testing\\RuleTestCase but does not specify its types\:TRule#'
45
45
- '#Method Symplify\\PHPStanRules\\(.*?)\:\:getRule\(\) return type with generic interface PHPStan\\Rules\\Rule does not specify its types\:TNodeType#'
@@ -50,5 +50,26 @@ parameters:
50
50
# overly detailed
51
51
- '#Class Symplify\\PHPStanRules\\Collector\\(.*?) implements generic interface PHPStan\\Collectors\\Collector but does not specify its types\:TNodeType, TValue#'
52
52
53
-
# used in tests
54
-
- '#Public constant "(.*?)\:\:ERROR_MESSAGE" is never used#'
0 commit comments