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\\:\\:\\$compareValues\\(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\\>\\.$#"
274
+
message:"#^Binary operation \"\\.\" between array\\<string\\>\\|string and ' ' results in an error\\.$#"
270
275
count:1
271
276
path:src/Components/Key.php
272
277
273
278
-
274
-
message:"#^Binary operation \"\\.\" between array\\<string\\>\\|string and ' ' results in an error\\.$#"
279
+
message:"#^Binary operation \"\\.\\=\" between '' and array\\<string\\>\\|string results in an error\\.$#"
275
280
count:1
276
281
path:src/Components/Key.php
277
282
278
283
-
279
-
message:"#^Binary operation \"\\.\\=\" between '' and array\\<string\\>\\|string results in an error\\.$#"
284
+
message:"#^Property PhpMyAdmin\\\\SqlParser\\\\Components\\\\Key\\:\\:\\$columns \\(array\\<array\\{name\\?\\: string, length\\?\\: int, order\\?\\: string\\}\\>\\) does not accept non\\-empty\\-array\\<array\\<string, mixed\\>\\>\\.$#"
280
285
count:1
281
286
path:src/Components/Key.php
282
287
@@ -360,6 +365,11 @@ parameters:
360
365
count:1
361
366
path:src/Components/OptionsArray.php
362
367
368
+
-
369
+
message:"#^Property PhpMyAdmin\\\\SqlParser\\\\Components\\\\OptionsArray\\:\\:\\$options \\(array\\<int, mixed\\>\\) does not accept array\\<int\\|string, mixed\\>\\.$#"
370
+
count:8
371
+
path:src/Components/OptionsArray.php
372
+
363
373
-
364
374
message:"#^Right side of && is always true\\.$#"
365
375
count:1
@@ -530,19 +540,14 @@ parameters:
530
540
count:1
531
541
path:src/Lexer.php
532
542
533
-
-
534
-
message:"#^Array \\(array\\<PhpMyAdmin\\\\SqlParser\\\\Statements\\\\SelectStatement\\>\\) does not accept array\\<int, PhpMyAdmin\\\\SqlParser\\\\Statements\\\\SelectStatement\\|string\\|true\\>\\.$#"
535
-
count:1
536
-
path:src/Parser.php
537
-
538
543
-
539
544
message:"#^Cannot access property \\$count on PhpMyAdmin\\\\SqlParser\\\\TokensList\\|null\\.$#"
540
545
count:1
541
546
path:src/Parser.php
542
547
543
548
-
544
549
message:"#^Cannot access property \\$idx on PhpMyAdmin\\\\SqlParser\\\\TokensList\\|null\\.$#"
545
-
count:7
550
+
count:8
546
551
path:src/Parser.php
547
552
548
553
-
@@ -565,6 +570,11 @@ parameters:
565
570
count:3
566
571
path:src/Parser.php
567
572
573
+
-
574
+
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\\>\\.$#"
575
+
count:1
576
+
path:src/Parser.php
577
+
568
578
-
569
579
message:"#^Cannot access property \\$type on PhpMyAdmin\\\\SqlParser\\\\Token\\|null\\.$#"
570
580
count:1
@@ -1161,7 +1171,7 @@ parameters:
1161
1171
path:tests/Parser/WithStatementTest.php
1162
1172
1163
1173
-
1164
-
message:"#^Cannot access offset int on non\\-empty\\-array\\<int, string\\>\\|false\\.$#"
1174
+
message:"#^Cannot access offset int\\<0, max\\> on non\\-empty\\-array\\<int, string\\>\\|false\\.$#"
0 commit comments