You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: phpstan-baseline.neon
+1-111Lines changed: 1 addition & 111 deletions
Original file line number
Diff line number
Diff line change
@@ -5,21 +5,6 @@ parameters:
5
5
count:2
6
6
path:src/Analyzer/QueryPlanAnalyzerMysql.php
7
7
8
-
-
9
-
message:"#^Instanceof between mysqli_result\\<array\\<string, int\\<\\-128, 127\\>\\|string\\|null\\>\\> and mysqli_result will always evaluate to true\\.$#"
10
-
count:1
11
-
path:src/DbSchema/SchemaHasherMysql.php
12
-
13
-
-
14
-
message:"#^Doing instanceof PHPStan\\\\Type\\\\Constant\\\\ConstantArrayType is error\\-prone and deprecated\\. Use Type\\:\\:getConstantArrays\\(\\) instead\\.$#"
message:"#^Doing instanceof PHPStan\\\\Type\\\\Constant\\\\ConstantStringType is error\\-prone and deprecated\\. Use Type\\:\\:getConstantStrings\\(\\) instead\\.$#"
message:"#^Doing instanceof PHPStan\\\\Type\\\\Constant\\\\ConstantArrayType is error\\-prone and deprecated\\. Use Type\\:\\:getConstantArrays\\(\\) instead\\.$#"
message:"#^Doing instanceof PHPStan\\\\Type\\\\Constant\\\\ConstantArrayType is error\\-prone and deprecated\\. Use Type\\:\\:getConstantArrays\\(\\) instead\\.$#"
message:"#^Doing instanceof PHPStan\\\\Type\\\\Constant\\\\ConstantArrayType is error\\-prone and deprecated\\. Use Type\\:\\:getConstantArrays\\(\\) instead\\.$#"
message:"#^Doing instanceof PHPStan\\\\Type\\\\Constant\\\\ConstantArrayType is error\\-prone and deprecated\\. Use Type\\:\\:getConstantArrays\\(\\) instead\\.$#"
message:"#^Doing instanceof PHPStan\\\\Type\\\\Constant\\\\ConstantStringType is error\\-prone and deprecated\\. Use Type\\:\\:getConstantStrings\\(\\) instead\\.$#"
message:"#^Doing instanceof PHPStan\\\\Type\\\\Constant\\\\ConstantStringType is error\\-prone and deprecated\\. Use Type\\:\\:getConstantStrings\\(\\) instead\\.$#"
message:"#^Doing instanceof PHPStan\\\\Type\\\\Constant\\\\ConstantArrayType is error\\-prone and deprecated\\. Use Type\\:\\:getConstantArrays\\(\\) instead\\.$#"
63
-
count:1
64
-
path:src/PdoReflection/PdoStatementObjectType.php
65
-
66
-
-
67
-
message:"#^Doing instanceof PHPStan\\\\Type\\\\Constant\\\\ConstantStringType is error\\-prone and deprecated\\. Use Type\\:\\:getConstantStrings\\(\\) instead\\.$#"
68
-
count:1
69
-
path:src/PdoReflection/PdoStatementObjectType.php
70
-
71
-
-
72
-
message:"#^Doing instanceof PHPStan\\\\Type\\\\Constant\\\\ConstantArrayType is error\\-prone and deprecated\\. Use Type\\:\\:getConstantArrays\\(\\) instead\\.$#"
73
-
count:1
74
-
path:src/PdoReflection/PdoStatementReflection.php
75
-
76
21
-
77
22
message:"#^Strict comparison using \\=\\=\\= between 'dibi' and 'dibi' will always evaluate to true\\.$#"
78
23
count:1
@@ -91,56 +36,26 @@ parameters:
91
36
count:1
92
37
path:src/QueryReflection/QueryReflection.php
93
38
94
-
-
95
-
message:"#^Doing instanceof PHPStan\\\\Type\\\\Constant\\\\ConstantArrayType is error\\-prone and deprecated\\. Use Type\\:\\:getConstantArrays\\(\\) instead\\.$#"
96
-
count:3
97
-
path:src/QueryReflection/QueryReflection.php
98
-
99
-
-
100
-
message:"#^Doing instanceof PHPStan\\\\Type\\\\Constant\\\\ConstantStringType is error\\-prone and deprecated\\. Use Type\\:\\:getConstantStrings\\(\\) instead\\.$#"
101
-
count:1
102
-
path:src/QueryReflection/QueryReflection.php
103
-
104
39
-
105
40
message:"#^Strict comparison using \\=\\=\\= between null and null will always evaluate to true\\.$#"
106
41
count:1
107
42
path:src/QueryReflection/QueryReflection.php
108
43
109
-
-
110
-
message:"#^Doing instanceof PHPStan\\\\Type\\\\Accessory\\\\AccessoryType is error\\-prone and deprecated\\. Use methods on PHPStan\\\\Type\\\\Type instead\\.$#"
111
-
count:1
112
-
path:src/QueryReflection/QuerySimulation.php
113
-
114
-
-
115
-
message:"#^Doing instanceof PHPStan\\\\Type\\\\ArrayType is error\\-prone and deprecated\\. Use Type\\:\\:isArray\\(\\) or Type\\:\\:getArrays\\(\\) instead\\.$#"
116
-
count:1
117
-
path:src/QueryReflection/QuerySimulation.php
118
-
119
44
-
120
45
message:"#^Doing instanceof PHPStan\\\\Type\\\\ConstantScalarType is error\\-prone and deprecated\\. Use Type\\:\\:isConstantScalarValue\\(\\) or Type\\:\\:getConstantScalarTypes\\(\\) or Type\\:\\:getConstantScalarValues\\(\\) instead\\.$#"
121
46
count:1
122
47
path:src/QueryReflection/QuerySimulation.php
123
48
124
49
-
125
50
message:"#^Doing instanceof PHPStan\\\\Type\\\\IntersectionType is error\\-prone and deprecated\\.$#"
126
-
count:2
51
+
count:1
127
52
path:src/QueryReflection/QuerySimulation.php
128
53
129
54
-
130
55
message:"#^Doing instanceof PHPStan\\\\Type\\\\ObjectType is error\\-prone and deprecated\\. Use Type\\:\\:isObject\\(\\) or Type\\:\\:getObjectClassNames\\(\\) instead\\.$#"
131
56
count:2
132
57
path:src/QueryReflection/QuerySimulation.php
133
58
134
-
-
135
-
message:"#^Doing instanceof PHPStan\\\\Type\\\\Constant\\\\ConstantArrayType is error\\-prone and deprecated\\. Use Type\\:\\:getConstantArrays\\(\\) instead\\.$#"
136
-
count:1
137
-
path:src/Rules/DoctrineKeyValueStyleRule.php
138
-
139
-
-
140
-
message:"#^Doing instanceof PHPStan\\\\Type\\\\Constant\\\\ConstantStringType is error\\-prone and deprecated\\. Use Type\\:\\:getConstantStrings\\(\\) instead\\.$#"
141
-
count:2
142
-
path:src/Rules/DoctrineKeyValueStyleRule.php
143
-
144
59
-
145
60
message:"#^Doing instanceof PHPStan\\\\Type\\\\Constant\\\\ConstantStringType is error\\-prone and deprecated\\. Use Type\\:\\:getConstantStrings\\(\\) instead\\.$#"
146
61
count:1
@@ -156,34 +71,9 @@ parameters:
156
71
157
72
-
158
73
message:"#^Doing instanceof PHPStan\\\\Type\\\\Constant\\\\ConstantArrayType is error\\-prone and deprecated\\. Use Type\\:\\:getConstantArrays\\(\\) instead\\.$#"
message:"#^Doing instanceof PHPStan\\\\Type\\\\Constant\\\\ConstantArrayType is error\\-prone and deprecated\\. Use Type\\:\\:getConstantArrays\\(\\) instead\\.$#"
169
-
count:1
170
-
path:src/SchemaReflection/SchemaReflection.php
171
-
172
-
-
173
-
message:"#^Call to an undefined method SqlFtw\\\\Sql\\\\Dml\\\\TableReference\\\\Join\\:\\:getCondition\\(\\)\\.$#"
174
-
count:2
175
-
path:src/SqlAst/ParserInference.php
176
-
177
-
-
178
-
message:"#^Call to an undefined method SqlFtw\\\\Sql\\\\Dml\\\\TableReference\\\\TableReferenceNode\\:\\:getTable\\(\\)\\.$#"
179
-
count:1
180
-
path:src/SqlAst/ParserInference.php
181
-
182
-
-
183
-
message:"#^Call to function is_string\\(\\) with string will always evaluate to true\\.$#"
184
-
count:2
185
-
path:src/TypeMapping/MysqliTypeMapper.php
186
-
187
77
-
188
78
message:"#^Only booleans are allowed in an if condition, int given\\.$#"
0 commit comments