-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathphpstan-baseline.neon
More file actions
111 lines (90 loc) · 2.85 KB
/
phpstan-baseline.neon
File metadata and controls
111 lines (90 loc) · 2.85 KB
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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
parameters:
ignoreErrors:
-
message: "#^Comparison operation \"\\>\" between int\\<1, max\\> and 0 is always true\\.$#"
count: 1
path: src/div.php
-
message: "#^Else branch is unreachable because previous condition is always true\\.$#"
count: 1
path: src/div.php
-
message: "#^Else branch is unreachable because ternary operator condition is always true\\.$#"
count: 1
path: src/div.php
-
message: "#^Elseif condition is always false\\.$#"
count: 2
path: src/div.php
-
message: "#^Expression in empty\\(\\) is always falsy\\.$#"
count: 2
path: src/div.php
-
message: "#^Expression in empty\\(\\) is not falsy\\.$#"
count: 2
path: src/div.php
-
message: "#^If condition is always false\\.$#"
count: 2
path: src/div.php
-
message: "#^Left side of && is always true\\.$#"
count: 1
path: src/div.php
-
message: "#^Negated boolean expression is always true\\.$#"
count: 1
path: src/div.php
-
message: "#^Offset 'class' on array\\<int, array\\{function\\: string, line\\?\\: int, file\\?\\: string, class\\?\\: class\\-string, type\\?\\: '\\-\\>'\\|'\\:\\:', args\\?\\: array, object\\?\\: object\\}\\> in isset\\(\\) does not exist\\.$#"
count: 1
path: src/div.php
-
message: "#^Result of && is always false\\.$#"
count: 4
path: src/div.php
-
message: "#^Right side of && is always true\\.$#"
count: 1
path: src/div.php
-
message: "#^Right side of \\|\\| is always false\\.$#"
count: 1
path: src/div.php
-
message: "#^Strict comparison using \\!\\=\\= between false and false will always evaluate to false\\.$#"
count: 1
path: src/div.php
-
message: "#^Strict comparison using \\=\\=\\= between '\"'\\|'\\\\'' and '1' will always evaluate to false\\.$#"
count: 1
path: src/div.php
-
message: "#^Strict comparison using \\=\\=\\= between '\\{/' and '' will always evaluate to false\\.$#"
count: 1
path: src/div.php
-
message: "#^Strict comparison using \\=\\=\\= between '\\}' and '' will always evaluate to false\\.$#"
count: 1
path: src/div.php
-
message: "#^Strict comparison using \\=\\=\\= between float and int will always evaluate to false\\.$#"
count: 1
path: src/div.php
-
message: "#^Strict comparison using \\=\\=\\= between mixed and null will always evaluate to false\\.$#"
count: 1
path: src/div.php
-
message: "#^Strict comparison using \\=\\=\\= between non\\-falsy\\-string and false will always evaluate to false\\.$#"
count: 1
path: src/div.php
-
message: "#^Strict comparison using \\=\\=\\= between non\\-falsy\\-string\\|\\(numeric\\-string&uppercase\\-string\\) and '' will always evaluate to false\\.$#"
count: 1
path: src/div.php
-
message: "#^Unreachable statement \\- code above always terminates\\.$#"
count: 1
path: src/div.php