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
+24-14Lines changed: 24 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -56,20 +56,25 @@ parameters:
56
56
path:src/Components/ArrayObj.php
57
57
58
58
-
59
-
message:"#^Array \\(array\\<PhpMyAdmin\\\\SqlParser\\\\Components\\\\Expression\\>\\) does not accept PhpMyAdmin\\\\SqlParser\\\\Components\\\\Expression\\|null\\.$#"
60
-
count:3
59
+
message:"#^Binary operation \"\\.\" between ' AS ' and array\\<string\\>\\|string results in an error\\.$#"
60
+
count:1
61
61
path:src/Components/CaseExpression.php
62
62
63
63
-
64
-
message:"#^Binary operation \"\\.\" between ' AS ' and array\\<string\\>\\|string results in an error\\.$#"
64
+
message:"#^Property PhpMyAdmin\\\\SqlParser\\\\Components\\\\CaseExpression\\:\\:\\$alias \\(string\\|null\\) does not accept mixed\\.$#"
65
65
count:1
66
66
path:src/Components/CaseExpression.php
67
67
68
68
-
69
-
message:"#^Property PhpMyAdmin\\\\SqlParser\\\\Components\\\\CaseExpression\\:\\:\\$alias\\(string\\|null\\) does not accept mixed\\.$#"
69
+
message:"#^Property PhpMyAdmin\\\\SqlParser\\\\Components\\\\CaseExpression\\:\\:\\$compare_values\\(array\\<PhpMyAdmin\\\\SqlParser\\\\Components\\\\Expression\\>\\) does not accept array\\<PhpMyAdmin\\\\SqlParser\\\\Components\\\\Expression\\|null\\>\\.$#"
70
70
count:1
71
71
path:src/Components/CaseExpression.php
72
72
73
+
-
74
+
message:"#^Property PhpMyAdmin\\\\SqlParser\\\\Components\\\\CaseExpression\\:\\:\\$results \\(array\\<PhpMyAdmin\\\\SqlParser\\\\Components\\\\Expression\\>\\) does not accept array\\<PhpMyAdmin\\\\SqlParser\\\\Components\\\\Expression\\|null\\>\\.$#"
message:"#^Array \\(array\\<array\\{name\\?\\: string, length\\?\\: int, order\\?\\: string\\}\\>\\) does not accept non\\-empty\\-array\\<string, mixed\\>\\.$#"
259
+
message:"#^Binary operation \"\\.\" between array\\<string\\>\\|string and ' ' results in an error\\.$#"
255
260
count:1
256
261
path:src/Components/Key.php
257
262
258
263
-
259
-
message:"#^Binary operation \"\\.\" between array\\<string\\>\\|string and ' ' results in an error\\.$#"
264
+
message:"#^Binary operation \"\\.\\=\" between '' and array\\<string\\>\\|string results in an error\\.$#"
260
265
count:1
261
266
path:src/Components/Key.php
262
267
263
268
-
264
-
message:"#^Binary operation \"\\.\\=\" between '' and array\\<string\\>\\|string results in an error\\.$#"
269
+
message:"#^Property PhpMyAdmin\\\\SqlParser\\\\Components\\\\Key\\:\\:\\$columns \\(array\\<array\\{name\\?\\: string, length\\?\\: int, order\\?\\: string\\}\\>\\) does not accept non\\-empty\\-array\\<array\\<string, mixed\\>\\>\\.$#"
265
270
count:1
266
271
path:src/Components/Key.php
267
272
@@ -345,6 +350,11 @@ parameters:
345
350
count:1
346
351
path:src/Components/OptionsArray.php
347
352
353
+
-
354
+
message:"#^Property PhpMyAdmin\\\\SqlParser\\\\Components\\\\OptionsArray\\:\\:\\$options \\(array\\<int, mixed\\>\\) does not accept array\\<int\\|string, mixed\\>\\.$#"
355
+
count:8
356
+
path:src/Components/OptionsArray.php
357
+
348
358
-
349
359
message:"#^Right side of && is always true\\.$#"
350
360
count:1
@@ -500,19 +510,14 @@ parameters:
500
510
count:1
501
511
path:src/Lexer.php
502
512
503
-
-
504
-
message:"#^Array \\(array\\<PhpMyAdmin\\\\SqlParser\\\\Statements\\\\SelectStatement\\>\\) does not accept array\\<int, PhpMyAdmin\\\\SqlParser\\\\Statements\\\\SelectStatement\\|string\\|true\\>\\.$#"
505
-
count:1
506
-
path:src/Parser.php
507
-
508
513
-
509
514
message:"#^Cannot access property \\$count on PhpMyAdmin\\\\SqlParser\\\\TokensList\\|null\\.$#"
510
515
count:1
511
516
path:src/Parser.php
512
517
513
518
-
514
519
message:"#^Cannot access property \\$idx on PhpMyAdmin\\\\SqlParser\\\\TokensList\\|null\\.$#"
515
-
count:7
520
+
count:8
516
521
path:src/Parser.php
517
522
518
523
-
@@ -535,6 +540,11 @@ parameters:
535
540
count:3
536
541
path:src/Parser.php
537
542
543
+
-
544
+
message:"#^Property PhpMyAdmin\\\\SqlParser\\\\Statements\\\\SelectStatement\\:\\:\\$union \\(array\\<PhpMyAdmin\\\\SqlParser\\\\Statements\\\\SelectStatement\\>\\) does not accept array\\<array\\<int, bool\\|PhpMyAdmin\\\\SqlParser\\\\Statements\\\\SelectStatement\\|string\\>\\|PhpMyAdmin\\\\SqlParser\\\\Statements\\\\SelectStatement\\>\\.$#"
545
+
count:1
546
+
path:src/Parser.php
547
+
538
548
-
539
549
message:"#^Cannot access property \\$type on PhpMyAdmin\\\\SqlParser\\\\Token\\|null\\.$#"
540
550
count:1
@@ -1131,7 +1141,7 @@ parameters:
1131
1141
path:tests/Parser/WithStatementTest.php
1132
1142
1133
1143
-
1134
-
message:"#^Cannot access offset int on non\\-empty\\-array\\<int, string\\>\\|false\\.$#"
1144
+
message:"#^Cannot access offset int\\<0, max\\> on non\\-empty\\-array\\<int, string\\>\\|false\\.$#"
0 commit comments