Skip to content

Commit a95278d

Browse files
committed
WIP on ari/phpstan-level-9
1 parent 8ad9cb7 commit a95278d

1 file changed

Lines changed: 18 additions & 1 deletion

File tree

phpstan.neon.dist

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
parameters:
2-
level: 8
2+
level: 10
33
reportUnmatchedIgnoredErrors: false
44
paths:
55
- ./classes
@@ -9,6 +9,23 @@ parameters:
99
ignoreErrors:
1010
- identifier: missingType.iterableValue
1111
- identifier: missingType.generics
12+
- identifier: binaryOp.invalid
13+
- identifier: cast.string
14+
- identifier: cast.int
15+
- identifier: cast.double
16+
- identifier: offsetAccess.nonOffsetAccessible
17+
- identifier: echo.nonString
18+
- identifier: encapsedStringPart.nonString
19+
- identifier: assignOp.invalid
20+
- identifier: method.nonObject
21+
- identifier: property.nonObject
22+
- identifier: foreach.nonIterable
23+
- identifier: argument.type
24+
- identifier: return.type
25+
- identifier: clone.nonObject
26+
- identifier: callable.nonCallable
27+
- identifier: assign.propertyType
28+
- identifier: parameter.phpDocType
1229
- '#Function YoastSEO not found.#'
1330
- '#.*unknown class YoastSEO.*#'
1431
- '#Call to static method get_instance\(\) on an unknown class WPSEO_Options.#'

0 commit comments

Comments
 (0)