-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathphpstan.neon
More file actions
30 lines (27 loc) · 859 Bytes
/
phpstan.neon
File metadata and controls
30 lines (27 loc) · 859 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
parameters:
level: 5
treatPhpDocTypesAsCertain: false
paths:
- src
- tests
ignoreErrors:
-
message: '#^Call to function is_array\(\) with mixed will always evaluate to false\.$#'
identifier: function.impossibleType
count: 1
path: src/Bucketer.php
-
message: '#^Offset ''or'' on \*NEVER\* in isset\(\) always exists and is not nullable\.$#'
identifier: isset.offset
count: 1
path: src/Bucketer.php
-
message: '#^Strict comparison using \!\=\= between mixed and null will always evaluate to true\.$#'
identifier: notIdentical.alwaysTrue
count: 1
path: src/EvaluateSticky.php
-
message: '#^Call to function method_exists\(\) with Featurevisor\\Featurevisor and ''getVariation'' will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: tests/FeaturevisorTest.php