-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathphpstan-baseline.neon
More file actions
97 lines (82 loc) · 3.28 KB
/
phpstan-baseline.neon
File metadata and controls
97 lines (82 loc) · 3.28 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
parameters:
ignoreErrors:
-
message: '#^Call to function function_exists\(\) with ''datamachine_assign…''\|''datamachine…''\|''datamachine_drop…''\|''datamachine_migrate…''\|''datamachine_strip…'' will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: tests/migration-runtime-smoke.php
-
message: '#^Call to function in_array\(\) with arguments ''datamachine_assign…''\|''datamachine…''\|''datamachine_drop…''\|''datamachine_migrate…''\|''datamachine_strip…'', array\{\} and true will always evaluate to false\.$#'
identifier: function.impossibleType
count: 1
path: tests/migration-runtime-smoke.php
-
message: '#^Comparison operation "\>" between \*NEVER\* and 1 results in an error\.$#'
identifier: greater.invalid
count: 1
path: tests/migration-runtime-smoke.php
-
message: '#^Empty array passed to foreach\.$#'
identifier: foreach.emptyArray
count: 1
path: tests/migration-runtime-smoke.php
-
message: '#^Offset ''datamachine_db_version'' does not exist on array\{\}\.$#'
identifier: offsetAccess.notFound
count: 1
path: tests/migration-runtime-smoke.php
-
message: '#^Offset ''priority'' on null on left side of \?\? does not exist\.$#'
identifier: nullCoalesce.offset
count: 1
path: tests/migration-runtime-smoke.php
-
message: '#^Result of && is always false\.$#'
identifier: booleanAnd.alwaysFalse
count: 8
path: tests/migration-runtime-smoke.php
-
message: '#^Strict comparison using \!\=\= between false and false will always evaluate to false\.$#'
identifier: notIdentical.alwaysFalse
count: 7
path: tests/migration-runtime-smoke.php
-
message: '#^Strict comparison using \!\=\= between null and null will always evaluate to false\.$#'
identifier: notIdentical.alwaysFalse
count: 1
path: tests/migration-runtime-smoke.php
-
message: '#^Strict comparison using \=\=\= between ''0\.84\.0\-test'' and ''0\.79\.0\-stale'' will always evaluate to false\.$#'
identifier: identical.alwaysFalse
count: 1
path: tests/migration-runtime-smoke.php
-
message: '#^Strict comparison using \=\=\= between ''0\.84\.0\-test'' and ''0\.84\.0\-test'' will always evaluate to true\.$#'
identifier: identical.alwaysTrue
count: 1
path: tests/migration-runtime-smoke.php
-
message: '#^Strict comparison using \=\=\= between ''0\.84\.0\-test'' and ''99\.99\.0\-future'' will always evaluate to false\.$#'
identifier: identical.alwaysFalse
count: 1
path: tests/migration-runtime-smoke.php
-
message: '#^Strict comparison using \=\=\= between 0 and 0 will always evaluate to true\.$#'
identifier: identical.alwaysTrue
count: 4
path: tests/migration-runtime-smoke.php
-
message: '#^Strict comparison using \=\=\= between 0 and 21 will always evaluate to false\.$#'
identifier: identical.alwaysFalse
count: 4
path: tests/migration-runtime-smoke.php
-
message: '#^Strict comparison using \=\=\= between 5 and null will always evaluate to false\.$#'
identifier: identical.alwaysFalse
count: 1
path: tests/migration-runtime-smoke.php
-
message: '#^Unreachable statement \- code above always terminates\.$#'
identifier: deadCode.unreachable
count: 1
path: tests/migration-runtime-smoke.php