-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy pathphpstan.neon
More file actions
22 lines (20 loc) · 890 Bytes
/
phpstan.neon
File metadata and controls
22 lines (20 loc) · 890 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
includes:
- phpstan-baseline.neon
parameters:
level: 7
inferPrivatePropertyTypeFromConstructor: true
excludePaths:
- src/Test/* # Files generated during TDBM test
ignoreErrors:
-
identifier: missingType.iterableValue
-
identifier: missingType.generics
- "#Method JsonSerializable::jsonSerialize\\(\\) invoked with 1 parameter, 0 required.#"
- "#Call to an undefined method object::#"
- "#expects TheCodingMachine\\\\TDBM\\\\AbstractTDBMObject, object given.#"
- '#Method TheCodingMachine\\TDBM\\NativeWeakrefObjectStorage::get\(\) should return TheCodingMachine\\TDBM\\DbRow\|null but returns object\|null.#'
-
message: '#Strict comparison using === between int\|string and null will always evaluate to false#'
path: src/Utils/ScalarBeanPropertyDescriptor.php
#reportUnmatchedIgnoredErrors: false