-
Notifications
You must be signed in to change notification settings - Fork 3
/
phpstan.neon
25 lines (23 loc) · 893 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
parameters:
level: max
inferPrivatePropertyTypeFromConstructor: true
checkDynamicProperties: true
checkImplicitMixed: false # TODO: change to true if we feel like we need another challenge
paths:
- .
excludePaths:
- vendor/*
- vendor-bin/*
ignoreErrors:
-
message: "#^Casting to int something that's already int\\.$#"
count: 1
path: Finder/UnusedCacheHashDirectoriesFinder.php
-
message: "#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#"
count: 1
path: Finder/UnusedCacheHashDirectoriesFinder.php
-
message: "#^Variable method call on Magento\\\\Theme\\\\Model\\\\Theme\\.$#"
count: 1
path: Finder/UnusedCacheHashDirectoriesFinder.php