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
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\\.$#"
17
+
message:"#^Cannot call method getConstantArrays\\(\\) on PHPStan\\\\Type\\\\Type\\|null\\.$#"
message:"#^Doing instanceof PHPStan\\\\Type\\\\Constant\\\\ConstantArrayType is error\\-prone and deprecated\\. Use Type\\:\\:getConstantArrays\\(\\) instead\\.$#"
38
-
count:2
22
+
message:"#^Call to an undefined method PHPStan\\\\Type\\\\Type\\:\\:getValueTypes\\(\\)\\.$#"
message:"#^Method staabm\\\\PHPStanDba\\\\PdoReflection\\\\PdoStatementReflection\\:\\:getClassRowType\\(\\) never returns null so it can be removed from the return type\\.$#"
63
+
count:1
64
+
path:src/PdoReflection/PdoStatementReflection.php
65
+
66
+
-
67
+
message:"#^Method staabm\\\\PHPStanDba\\\\PdoReflection\\\\PdoStatementReflection\\:\\:getFetchType\\(\\) never returns 1 so it can be removed from the return type\\.$#"
68
+
count:1
69
+
path:src/PdoReflection/PdoStatementReflection.php
70
+
71
+
-
72
+
message:"#^Method staabm\\\\PHPStanDba\\\\PdoReflection\\\\PdoStatementReflection\\:\\:getFetchType\\(\\) never returns 2 so it can be removed from the return type\\.$#"
message:"#^Strict comparison using \\=\\=\\= between 'dibi' and 'dibi' will always evaluate to true\\.$#"
78
83
count:1
79
84
path:src/QueryReflection/DbaApi.php
80
85
86
+
-
87
+
message:"#^Method staabm\\\\PHPStanDba\\\\QueryReflection\\\\MysqliQueryReflector\\:\\:getDatasource\\(\\) never returns PDO so it can be removed from the return type\\.$#"
88
+
count:1
89
+
path:src/QueryReflection/MysqliQueryReflector.php
90
+
91
+
-
92
+
message:"#^Method staabm\\\\PHPStanDba\\\\QueryReflection\\\\MysqliQueryReflector\\:\\:getDatasource\\(\\) never returns null so it can be removed from the return type\\.$#"
message:"#^PHPDoc tag @var with type array\\{column_default\\?\\: string, column_name\\: string, is_nullable\\: string\\} is not subtype of type array\\{COLUMN_NAME\\: string, COLUMN_DEFAULT\\: string\\|null, IS_NULLABLE\\: string\\}\\.$#"
#^Call to deprecated method resolvePreparedQueryString\\(\\) of class staabm\\\\PHPStanDba\\\\QueryReflection\\\\QueryReflection\\:
@@ -102,19 +142,14 @@ parameters:
102
142
path:src/QueryReflection/QueryReflection.php
103
143
104
144
-
105
-
message:"#^Strict comparison using \\=\\=\\= between null and null will always evaluate to true\\.$#"
145
+
message:"#^Method staabm\\\\PHPStanDba\\\\QueryReflection\\\\QueryReflection\\:\\:extractNamedPlaceholders\\(\\) should return list\\<string\\> but returns array\\<int\\<0, max\\>, string\\>\\.$#"
106
146
count:1
107
147
path:src/QueryReflection/QueryReflection.php
108
148
109
149
-
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\\.$#"
150
+
message:"#^Strict comparison using \\=\\=\\= between null and null will always evaluate to true\\.$#"
116
151
count:1
117
-
path:src/QueryReflection/QuerySimulation.php
152
+
path:src/QueryReflection/QueryReflection.php
118
153
119
154
-
120
155
message:"#^Doing instanceof PHPStan\\\\Type\\\\ConstantScalarType is error\\-prone and deprecated\\. Use Type\\:\\:isConstantScalarValue\\(\\) or Type\\:\\:getConstantScalarTypes\\(\\) or Type\\:\\:getConstantScalarValues\\(\\) instead\\.$#"
@@ -123,7 +158,7 @@ parameters:
123
158
124
159
-
125
160
message:"#^Doing instanceof PHPStan\\\\Type\\\\IntersectionType is error\\-prone and deprecated\\.$#"
126
-
count:2
161
+
count:1
127
162
path:src/QueryReflection/QuerySimulation.php
128
163
129
164
-
@@ -132,20 +167,35 @@ parameters:
132
167
path:src/QueryReflection/QuerySimulation.php
133
168
134
169
-
135
-
message:"#^Doing instanceof PHPStan\\\\Type\\\\Constant\\\\ConstantArrayType is error\\-prone and deprecated\\. Use Type\\:\\:getConstantArrays\\(\\) instead\\.$#"
170
+
message:"#^Method staabm\\\\PHPStanDba\\\\QueryReflection\\\\ReflectionCache\\:\\:readCachedRecords\\(\\) should return array\\<string, array\\{error\\?\\: staabm\\\\PHPStanDba\\\\Error\\|null, result\\?\\: array\\<1\\|2\\|3\\|4\\|5\\|6\\|7\\|8, PHPStan\\\\Type\\\\Type\\|null\\>\\}\\>\\|null but returns array\\.$#"
136
171
count:1
137
-
path:src/Rules/DoctrineKeyValueStyleRule.php
172
+
path:src/QueryReflection/ReflectionCache.php
138
173
139
174
-
140
-
message:"#^Doing instanceof PHPStan\\\\Type\\\\Constant\\\\ConstantStringType is error\\-prone and deprecated\\. Use Type\\:\\:getConstantStrings\\(\\) instead\\.$#"
141
-
count:2
175
+
message:"#^Return type \\(array\\<PHPStan\\\\Rules\\\\RuleError\\>\\) of method staabm\\\\PHPStanDba\\\\Rules\\\\DoctrineKeyValueStyleRule\\:\\:processNode\\(\\) should be covariant with return type \\(list\\<PHPStan\\\\Rules\\\\IdentifierRuleError\\>\\) of method PHPStan\\\\Rules\\\\Rule\\<PhpParser\\\\Node\\\\Expr\\\\CallLike\\>\\:\\:processNode\\(\\)$#"
176
+
count:1
142
177
path:src/Rules/DoctrineKeyValueStyleRule.php
143
178
144
179
-
145
180
message:"#^Doing instanceof PHPStan\\\\Type\\\\Constant\\\\ConstantStringType is error\\-prone and deprecated\\. Use Type\\:\\:getConstantStrings\\(\\) instead\\.$#"
146
181
count:1
147
182
path:src/Rules/PdoStatementExecuteMethodRule.php
148
183
184
+
-
185
+
message:"#^Method staabm\\\\PHPStanDba\\\\Rules\\\\PdoStatementExecuteMethodRule\\:\\:processNode\\(\\) should return list\\<PHPStan\\\\Rules\\\\IdentifierRuleError\\> but returns array\\<PHPStan\\\\Rules\\\\RuleError\\>\\.$#"
186
+
count:1
187
+
path:src/Rules/PdoStatementExecuteMethodRule.php
188
+
189
+
-
190
+
message:"#^Method staabm\\\\PHPStanDba\\\\Rules\\\\QueryPlanAnalyzerRule\\:\\:processNode\\(\\) should return list\\<PHPStan\\\\Rules\\\\IdentifierRuleError\\> but returns array\\<PHPStan\\\\Rules\\\\RuleError\\>\\.$#"
191
+
count:1
192
+
path:src/Rules/QueryPlanAnalyzerRule.php
193
+
194
+
-
195
+
message:"#^Method staabm\\\\PHPStanDba\\\\Rules\\\\QueryPlanAnalyzerRule\\:\\:processNode\\(\\) should return list\\<PHPStan\\\\Rules\\\\IdentifierRuleError\\> but returns array\\{PHPStan\\\\Rules\\\\LineRuleError&PHPStan\\\\Rules\\\\TipRuleError\\}\\.$#"
196
+
count:1
197
+
path:src/Rules/QueryPlanAnalyzerRule.php
198
+
149
199
-
150
200
message:"""
151
201
#^Call to deprecated method resolveQueryString\\(\\) of class staabm\\\\PHPStanDba\\\\QueryReflection\\\\QueryReflection\\:
message:"#^Doing instanceof PHPStan\\\\Type\\\\Constant\\\\ConstantArrayType is error\\-prone and deprecated\\. Use Type\\:\\:getConstantArrays\\(\\) instead\\.$#"
218
+
message:"#^Method staabm\\\\PHPStanDba\\\\Rules\\\\SyntaxErrorInDibiPreparedStatementMethodRule\\:\\:processNode\\(\\) should return list\\<PHPStan\\\\Rules\\\\IdentifierRuleError\\> but returns array\\<PHPStan\\\\Rules\\\\RuleError\\>\\.$#"
message:"#^Call to an undefined method SqlFtw\\\\Sql\\\\Dml\\\\TableReference\\\\Join\\:\\:getCondition\\(\\)\\.$#"
174
-
count:2
175
-
path:src/SqlAst/ParserInference.php
223
+
message:"#^Method staabm\\\\PHPStanDba\\\\Rules\\\\SyntaxErrorInPreparedStatementMethodRule\\:\\:processNode\\(\\) should return list\\<PHPStan\\\\Rules\\\\IdentifierRuleError\\> but returns array\\<PHPStan\\\\Rules\\\\RuleError\\>\\.$#"
message:"#^Call to an undefined method SqlFtw\\\\Sql\\\\Dml\\\\TableReference\\\\TableReferenceNode\\:\\:getTable\\(\\)\\.$#"
228
+
message:"#^Method staabm\\\\PHPStanDba\\\\Rules\\\\SyntaxErrorInQueryFunctionRule\\:\\:processNode\\(\\) should return list\\<PHPStan\\\\Rules\\\\IdentifierRuleError\\> but returns array\\{PHPStan\\\\Rules\\\\LineRuleError&PHPStan\\\\Rules\\\\TipRuleError\\}\\.$#"
179
229
count:1
180
-
path:src/SqlAst/ParserInference.php
230
+
path:src/Rules/SyntaxErrorInQueryFunctionRule.php
231
+
232
+
-
233
+
message:"#^Method staabm\\\\PHPStanDba\\\\Rules\\\\SyntaxErrorInQueryFunctionRule\\:\\:processNode\\(\\) should return list\\<PHPStan\\\\Rules\\\\IdentifierRuleError\\> but returns array\\{PHPStan\\\\Rules\\\\LineRuleError\\}\\.$#"
234
+
count:1
235
+
path:src/Rules/SyntaxErrorInQueryFunctionRule.php
236
+
237
+
-
238
+
message:"#^Method staabm\\\\PHPStanDba\\\\Rules\\\\SyntaxErrorInQueryMethodRule\\:\\:processNode\\(\\) should return list\\<PHPStan\\\\Rules\\\\IdentifierRuleError\\> but returns array\\{PHPStan\\\\Rules\\\\LineRuleError&PHPStan\\\\Rules\\\\TipRuleError\\}\\.$#"
239
+
count:1
240
+
path:src/Rules/SyntaxErrorInQueryMethodRule.php
241
+
242
+
-
243
+
message:"#^Method staabm\\\\PHPStanDba\\\\Rules\\\\SyntaxErrorInQueryMethodRule\\:\\:processNode\\(\\) should return list\\<PHPStan\\\\Rules\\\\IdentifierRuleError\\> but returns array\\{PHPStan\\\\Rules\\\\LineRuleError\\}\\.$#"
244
+
count:1
245
+
path:src/Rules/SyntaxErrorInQueryMethodRule.php
246
+
247
+
-
248
+
message:"#^Doing instanceof PHPStan\\\\Type\\\\Constant\\\\ConstantArrayType is error\\-prone and deprecated\\. Use Type\\:\\:getConstantArrays\\(\\) instead\\.$#"
249
+
count:1
250
+
path:src/SchemaReflection/SchemaReflection.php
251
+
252
+
-
253
+
message:"#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\\.$#"
254
+
count:1
255
+
path:src/TypeMapping/MysqliTypeMapper.php
181
256
182
257
-
183
258
message:"#^Call to function is_string\\(\\) with string will always evaluate to true\\.$#"
@@ -188,3 +263,8 @@ parameters:
188
263
message:"#^Only booleans are allowed in an if condition, int given\\.$#"
189
264
count:1
190
265
path:src/TypeMapping/MysqliTypeMapper.php
266
+
267
+
-
268
+
message:"#^Parameter \\#2 \\$subject of function preg_match expects string, mixed given\\.$#"
0 commit comments