-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathphpstan.neon
34 lines (27 loc) · 964 Bytes
/
phpstan.neon
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
includes:
- config/extension.neon
parameters:
level: 8
paths:
- src
- config
- tests
excludePaths:
# tests
- "*/Source/*"
- "*/Fixture/*"
ignoreErrors:
- '#Method (.*?)::getCollectors\(\) return type with generic interface PHPStan\\Collectors\\Collector does not specify its types\: TNodeType, TValue#'
# overly detailed generics
- '#Rector\\TypePerfect\\Tests\\Rules\\(.*?) generic (class|interface)#'
-
identifier: phpstanApi.instanceofType
paths:
- src/Printer/CollectorMetadataPrinter.php
- src/Rules/NarrowPrivateClassMethodParamTypeRule.php
- src/Rules/NoArrayAccessOnObjectRule.php
- src/Rules/ReturnNullOverFalseRule.php
-
identifier: phpstanApi.instanceofAssumption
paths:
- src/Rules/NoParamTypeRemovalRule.php