-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathphpstan.neon
20 lines (20 loc) · 839 Bytes
/
phpstan.neon
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
parameters:
tmpDir: ./cache/.phpstan.result.cache
level: 9
paths:
- src
- tests
phpVersion: 80300 # Lowest currently supported version
treatPhpDocTypesAsCertain: false
checkBenevolentUnionTypes: true
reportPossiblyNonexistentGeneralArrayOffset: true
reportPossiblyNonexistentConstantArrayOffset: true
reportWrongPhpDocTypeInVarTag: true
reportAnyTypeWideningInVarTag: true
checkMissingOverrideMethodAttribute: true
ignoreErrors:
- identifier: property.uninitializedReadonly # Used in several objects to cache parsed/decoded data
- identifier: property.readOnlyAssignNotInConstructor # Used in several objects to cache parsed/decoded data
includes:
- phar://phpstan.phar/conf/bleedingEdge.neon
- vendor/phpstan/phpstan-strict-rules/rules.neon