generated from ergebnis/php-package-template
-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathphpstan-baseline.neon
92 lines (74 loc) · 3.84 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
parameters:
ignoreErrors:
-
message: "#^Call to function is_string\\(\\) with string will always evaluate to true\\.$#"
count: 1
path: src/FakeVariables.php
-
message: "#^Result of && is always false\\.$#"
count: 1
path: src/FakeVariables.php
-
message: "#^Strict comparison using \\!\\=\\= between array\\{\\} and array\\{\\} will always evaluate to false\\.$#"
count: 1
path: src/FakeVariables.php
-
message: "#^Strict comparison using \\!\\=\\= between false and false will always evaluate to false\\.$#"
count: 1
path: src/FakeVariables.php
-
message: "#^Call to function is_string\\(\\) with string will always evaluate to true\\.$#"
count: 1
path: src/ReadOnlyVariables.php
-
message: "#^Result of && is always false\\.$#"
count: 1
path: src/ReadOnlyVariables.php
-
message: "#^Strict comparison using \\!\\=\\= between array\\{\\} and array\\{\\} will always evaluate to false\\.$#"
count: 1
path: src/ReadOnlyVariables.php
-
message: "#^Strict comparison using \\!\\=\\= between false and false will always evaluate to false\\.$#"
count: 1
path: src/ReadOnlyVariables.php
-
message: "#^Dead catch \\- Ergebnis\\\\Environment\\\\Exception\\\\CouldNotUnset is never thrown in the try block\\.$#"
count: 2
path: src/TestVariables.php
-
message: "#^Method Ergebnis\\\\Environment\\\\Test\\\\DataProvider\\\\Name\\:\\:invalidType\\(\\) should return Generator\\<string, array\\<int, int\\>, mixed, mixed\\> but returns Generator\\<string, array\\{mixed\\}, mixed, mixed\\>\\.$#"
count: 1
path: test/DataProvider/Name.php
-
message: "#^Method Ergebnis\\\\Environment\\\\Test\\\\DataProvider\\\\Name\\:\\:invalidValue\\(\\) should return Generator\\<string, array\\<int, string\\>, mixed, mixed\\> but returns Generator\\<string, array\\{mixed\\}, mixed, mixed\\>\\.$#"
count: 1
path: test/DataProvider/Name.php
-
message: "#^Method Ergebnis\\\\Environment\\\\Test\\\\DataProvider\\\\Value\\:\\:invalidType\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: test/DataProvider/Value.php
-
message: "#^Method Ergebnis\\\\Environment\\\\Test\\\\DataProvider\\\\Value\\:\\:invalidType\\(\\) should return Generator\\<string, array\\<int, array\\|float\\|int\\|resource\\|stdClass\\|true\\|null\\>, mixed, mixed\\> but returns Generator\\<string, array\\{mixed\\}, mixed, mixed\\>\\.$#"
count: 1
path: test/DataProvider/Value.php
-
message: "#^Method Ergebnis\\\\Environment\\\\Test\\\\DataProvider\\\\Value\\:\\:invalidValue\\(\\) should return Generator\\<string, array\\<int, int\\|object\\|true\\|null\\>, mixed, mixed\\> but returns Generator\\<string, array\\{mixed\\}, mixed, mixed\\>\\.$#"
count: 1
path: test/DataProvider/Value.php
-
message: "#^Parameter \\#1 \\$values of static method Ergebnis\\\\Environment\\\\FakeVariables\\:\\:fromArray\\(\\) expects array\\<string, string\\|false\\>, array\\{FOO\\: mixed\\} given\\.$#"
count: 1
path: test/Unit/FakeVariablesTest.php
-
message: "#^Parameter \\#1 \\$values of static method Ergebnis\\\\Environment\\\\FakeVariables\\:\\:fromArray\\(\\) expects array\\<string, string\\|false\\>, non\\-empty\\-array\\<int\\|string, string\\> given\\.$#"
count: 1
path: test/Unit/FakeVariablesTest.php
-
message: "#^Parameter \\#1 \\$values of static method Ergebnis\\\\Environment\\\\ReadOnlyVariables\\:\\:fromArray\\(\\) expects array\\<string, string\\|false\\>, array\\{FOO\\: mixed\\} given\\.$#"
count: 1
path: test/Unit/ReadOnlyVariablesTest.php
-
message: "#^Parameter \\#1 \\$values of static method Ergebnis\\\\Environment\\\\ReadOnlyVariables\\:\\:fromArray\\(\\) expects array\\<string, string\\|false\\>, non\\-empty\\-array\\<int\\|string, string\\> given\\.$#"
count: 1
path: test/Unit/ReadOnlyVariablesTest.php