Skip to content

Commit 43b8f3a

Browse files
committed
chore: Ignore errors hard to fix without declared array types
1 parent 0721a7b commit 43b8f3a

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

phpstan.neon

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,27 @@ parameters:
44
paths:
55
- src
66
- tests
7+
ignoreErrors:
8+
-
9+
message: '#^Call to function is_array\(\) with mixed will always evaluate to false\.$#'
10+
identifier: function.impossibleType
11+
count: 1
12+
path: src/Bucketer.php
13+
14+
-
15+
message: '#^Offset ''or'' on \*NEVER\* in isset\(\) always exists and is not nullable\.$#'
16+
identifier: isset.offset
17+
count: 1
18+
path: src/Bucketer.php
19+
20+
-
21+
message: '#^Strict comparison using \!\=\= between mixed and null will always evaluate to true\.$#'
22+
identifier: notIdentical.alwaysTrue
23+
count: 1
24+
path: src/EvaluateSticky.php
25+
26+
-
27+
message: '#^Call to function method_exists\(\) with Featurevisor\\Featurevisor and ''getVariation'' will always evaluate to true\.$#'
28+
identifier: function.alreadyNarrowedType
29+
count: 1
30+
path: tests/FeaturevisorTest.php

0 commit comments

Comments
 (0)