-
Notifications
You must be signed in to change notification settings - Fork 37
/
phpstan-baseline.neon
37 lines (30 loc) · 1.32 KB
/
phpstan-baseline.neon
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
31
32
33
34
35
36
parameters:
ignoreErrors:
-
message: "#^Parameter \\#1 \\$array of function array_intersect expects array, mixed given\\.$#"
count: 1
path: lib/Qandidate/Toggle/Operator/HasIntersection.php
-
message: "#^Parameter \\#1 \\$pattern of function preg_match expects string, mixed given\\.$#"
count: 1
path: lib/Qandidate/Toggle/Operator/MatchesRegex.php
-
message: "#^Parameter \\#2 \\$subject of function preg_match expects string, mixed given\\.$#"
count: 1
path: lib/Qandidate/Toggle/Operator/MatchesRegex.php
-
message: "#^Cannot cast mixed to int\\.$#"
count: 1
path: lib/Qandidate/Toggle/Operator/Percentage.php
-
message: "#^Cannot call method getName\\(\\) on mixed\\.$#"
count: 1
path: lib/Qandidate/Toggle/ToggleCollection/PredisCollection.php
-
message: "#^Method Qandidate\\\\Toggle\\\\ToggleCollection\\\\PredisCollection\\:\\:all\\(\\) should return array\\<Qandidate\\\\Toggle\\\\Toggle\\> but returns array\\<int\\|string, mixed\\>\\.$#"
count: 1
path: lib/Qandidate/Toggle/ToggleCollection/PredisCollection.php
-
message: "#^Method Qandidate\\\\Toggle\\\\ToggleCollection\\\\PredisCollection\\:\\:get\\(\\) should return Qandidate\\\\Toggle\\\\Toggle\\|null but returns mixed\\.$#"
count: 1
path: lib/Qandidate/Toggle/ToggleCollection/PredisCollection.php