Skip to content

Commit fa8e828

Browse files
staabmsebastianbergmann
authored andcommitted
Enable PHPStan bleeding edge
1 parent 8bcbbf3 commit fa8e828

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

phpstan.neon

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,16 @@ parameters:
22
level: 6
33
paths:
44
- src
5+
6+
treatPhpDocTypesAsCertain: false
7+
8+
ignoreErrors:
9+
# ignore errors caused by defensive programming
10+
- '#Call to function assert\(\) with true will always evaluate to true.#'
11+
- '#Instanceof between .* and .* will always evaluate to true.#'
12+
- '#Strict comparison using !== between .*non-empty-string.* and .* will always evaluate to true.#'
13+
- '#Strict comparison using !== between .*non-falsy-string.* and .* will always evaluate to true.#'
14+
- '#Call to function is_array\(\) with array will always evaluate to true.#'
15+
16+
includes:
17+
- phar://phpstan.phar/conf/bleedingEdge.neon

0 commit comments

Comments
 (0)