-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathphpstan.neon
More file actions
31 lines (24 loc) · 868 Bytes
/
phpstan.neon
File metadata and controls
31 lines (24 loc) · 868 Bytes
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
parameters:
level: 8
checkGenericClassInNonGenericObjectType: false
paths:
- ecs.php
- scripts
- sets
- src
- tests
ignoreErrors:
- '#expects string, ((.*?)string|string(.*?)) given#'
# false positives on static calls
-
message: '#Cannot call static method getLoader\(\) on class-string\|null#'
path: scripts/signature-builder.php
-
message: '#Cannot call method getReturnType\(\) on ReflectionMethod\|null#'
path: scripts/signature-builder.php
-
message: '#Cannot call method getType\(\) on ReflectionProperty\|null#'
path: scripts/signature-builder.php
-
message: '#Cannot access property \$name on ReflectionClass\|null#'
path: scripts/signature-builder.php