-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpstan.neon
More file actions
22 lines (22 loc) · 798 Bytes
/
Copy pathphpstan.neon
File metadata and controls
22 lines (22 loc) · 798 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
parameters:
level: 8
paths:
- src/
ignoreErrors:
- identifier: function.notFound
- identifier: constant.notFound
- identifier: class.notFound
- identifier: property.onlyWritten
# These were suppressed via checkMissingIterableValueType/checkGenericClassInNonGenericObjectType
# in PHPStan 1.x. Those config keys were removed in 2.x.
- identifier: missingType.iterableValue
- identifier: missingType.generics
# Pre-existing: nullable Perfbase calls and $_SERVER array|string casts
- identifier: method.nonObject
- identifier: cast.string
scanDirectories:
- vendor/
scanFiles:
- perfbase.php
treatPhpDocTypesAsCertain: false
reportUnmatchedIgnoredErrors: false