We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8bcbbf3 commit fa8e828Copy full SHA for fa8e828
phpstan.neon
@@ -2,3 +2,16 @@ parameters:
2
level: 6
3
paths:
4
- 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