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
-170Lines changed: 0 additions & 170 deletions
Original file line number
Diff line number
Diff line change
@@ -760,11 +760,6 @@ parameters:
760
760
count:1
761
761
path:src/Components/OptionsArray.php
762
762
763
-
-
764
-
message:"#^Method PhpMyAdmin\\\\SqlParser\\\\Components\\\\OptionsArray\\:\\:merge\\(\\) has no return type specified\\.$#"
765
-
count:1
766
-
path:src/Components/OptionsArray.php
767
-
768
763
-
769
764
message:"#^Method PhpMyAdmin\\\\SqlParser\\\\Components\\\\OptionsArray\\:\\:merge\\(\\) has parameter \\$options with no value type specified in iterable type array\\.$#"
770
765
count:1
@@ -1000,16 +995,6 @@ parameters:
1000
995
count:1
1001
996
path:src/Context.php
1002
997
1003
-
-
1004
-
message:"#^Method PhpMyAdmin\\\\SqlParser\\\\Context\\:\\:load\\(\\) has no return type specified\\.$#"
1005
-
count:1
1006
-
path:src/Context.php
1007
-
1008
-
-
1009
-
message:"#^Method PhpMyAdmin\\\\SqlParser\\\\Context\\:\\:setMode\\(\\) has no return type specified\\.$#"
1010
-
count:1
1011
-
path:src/Context.php
1012
-
1013
998
-
1014
999
message:"#^Property PhpMyAdmin\\\\SqlParser\\\\Context\\:\\:\\$KEYWORDS type has no value type specified in iterable type array\\.$#"
1015
1000
count:1
@@ -1020,31 +1005,11 @@ parameters:
1020
1005
count:1
1021
1006
path:src/Context.php
1022
1007
1023
-
-
1024
-
message:"#^Method PhpMyAdmin\\\\SqlParser\\\\Core\\:\\:error\\(\\) has no return type specified\\.$#"
1025
-
count:1
1026
-
path:src/Core.php
1027
-
1028
1008
-
1029
1009
message:"#^Property PhpMyAdmin\\\\SqlParser\\\\Exceptions\\\\ParserException\\:\\:\\$token \\(PhpMyAdmin\\\\SqlParser\\\\Token\\) does not accept PhpMyAdmin\\\\SqlParser\\\\Token\\|null\\.$#"
1030
1010
count:1
1031
1011
path:src/Exceptions/ParserException.php
1032
1012
1033
-
-
1034
-
message:"#^Method PhpMyAdmin\\\\SqlParser\\\\Lexer\\:\\:error\\(\\) has no return type specified\\.$#"
1035
-
count:1
1036
-
path:src/Lexer.php
1037
-
1038
-
-
1039
-
message:"#^Method PhpMyAdmin\\\\SqlParser\\\\Lexer\\:\\:lex\\(\\) has no return type specified\\.$#"
1040
-
count:1
1041
-
path:src/Lexer.php
1042
-
1043
-
-
1044
-
message:"#^Method PhpMyAdmin\\\\SqlParser\\\\Lexer\\:\\:setDelimiter\\(\\) has no return type specified\\.$#"
1045
-
count:1
1046
-
path:src/Lexer.php
1047
-
1048
1013
-
1049
1014
message:"#^Parameter \\#1 \\$msg \\(string\\) of method PhpMyAdmin\\\\SqlParser\\\\Lexer\\:\\:error\\(\\) should be compatible with parameter \\$error \\(Exception\\) of method PhpMyAdmin\\\\SqlParser\\\\Core\\:\\:error\\(\\)$#"
1050
1015
count:1
@@ -1075,16 +1040,6 @@ parameters:
1075
1040
count:1
1076
1041
path:src/Parser.php
1077
1042
1078
-
-
1079
-
message:"#^Method PhpMyAdmin\\\\SqlParser\\\\Parser\\:\\:error\\(\\) has no return type specified\\.$#"
1080
-
count:1
1081
-
path:src/Parser.php
1082
-
1083
-
-
1084
-
message:"#^Method PhpMyAdmin\\\\SqlParser\\\\Parser\\:\\:parse\\(\\) has no return type specified\\.$#"
1085
-
count:1
1086
-
path:src/Parser.php
1087
-
1088
1043
-
1089
1044
message:"#^Parameter \\#1 \\$msg \\(string\\) of method PhpMyAdmin\\\\SqlParser\\\\Parser\\:\\:error\\(\\) should be compatible with parameter \\$error \\(Exception\\) of method PhpMyAdmin\\\\SqlParser\\\\Core\\:\\:error\\(\\)$#"
1090
1045
count:1
@@ -1105,26 +1060,11 @@ parameters:
1105
1060
count:1
1106
1061
path:src/Parser.php
1107
1062
1108
-
-
1109
-
message:"#^Method PhpMyAdmin\\\\SqlParser\\\\Statement\\:\\:after\\(\\) has no return type specified\\.$#"
1110
-
count:1
1111
-
path:src/Statement.php
1112
-
1113
-
-
1114
-
message:"#^Method PhpMyAdmin\\\\SqlParser\\\\Statement\\:\\:before\\(\\) has no return type specified\\.$#"
1115
-
count:1
1116
-
path:src/Statement.php
1117
-
1118
1063
-
1119
1064
message:"#^Method PhpMyAdmin\\\\SqlParser\\\\Statement\\:\\:getClauses\\(\\) return type has no value type specified in iterable type array\\.$#"
1120
1065
count:1
1121
1066
path:src/Statement.php
1122
1067
1123
-
-
1124
-
message:"#^Method PhpMyAdmin\\\\SqlParser\\\\Statement\\:\\:parse\\(\\) has no return type specified\\.$#"
1125
-
count:1
1126
-
path:src/Statement.php
1127
-
1128
1068
-
1129
1069
message:"#^PHPDoc tag @var has no value type specified in iterable type array\\.$#"
1130
1070
count:4
@@ -1150,11 +1090,6 @@ parameters:
1150
1090
count:1
1151
1091
path:src/Statement.php
1152
1092
1153
-
-
1154
-
message:"#^Method PhpMyAdmin\\\\SqlParser\\\\Statements\\\\AlterStatement\\:\\:parse\\(\\) has no return type specified\\.$#"
1155
-
count:1
1156
-
path:src/Statements/AlterStatement.php
1157
-
1158
1093
-
1159
1094
message:"#^Property PhpMyAdmin\\\\SqlParser\\\\Statements\\\\AlterStatement\\:\\:\\$OPTIONS type has no value type specified in iterable type array\\.$#"
1160
1095
count:1
@@ -1200,11 +1135,6 @@ parameters:
1200
1135
count:4
1201
1136
path:src/Statements/CreateStatement.php
1202
1137
1203
-
-
1204
-
message:"#^Method PhpMyAdmin\\\\SqlParser\\\\Statements\\\\CreateStatement\\:\\:parse\\(\\) has no return type specified\\.$#"
1205
-
count:1
1206
-
path:src/Statements/CreateStatement.php
1207
-
1208
1138
-
1209
1139
message:"#^Property PhpMyAdmin\\\\SqlParser\\\\Statements\\\\CreateStatement\\:\\:\\$DB_OPTIONS type has no value type specified in iterable type array\\.$#"
1210
1140
count:1
@@ -1280,11 +1210,6 @@ parameters:
1280
1210
count:1
1281
1211
path:src/Statements/CreateStatement.php
1282
1212
1283
-
-
1284
-
message:"#^Method PhpMyAdmin\\\\SqlParser\\\\Statements\\\\DeleteStatement\\:\\:parse\\(\\) has no return type specified\\.$#"
message:"#^Method PhpMyAdmin\\\\SqlParser\\\\Statements\\\\InsertStatement\\:\\:parse\\(\\) has no return type specified\\.$#"
1325
-
count:1
1326
-
path:src/Statements/InsertStatement.php
1327
-
1328
1248
-
1329
1249
message:"#^Property PhpMyAdmin\\\\SqlParser\\\\Statements\\\\InsertStatement\\:\\:\\$OPTIONS type has no value type specified in iterable type array\\.$#"
1330
1250
count:1
@@ -1345,11 +1265,6 @@ parameters:
1345
1265
count:1
1346
1266
path:src/Statements/LoadStatement.php
1347
1267
1348
-
-
1349
-
message:"#^Method PhpMyAdmin\\\\SqlParser\\\\Statements\\\\LoadStatement\\:\\:parse\\(\\) has no return type specified\\.$#"
1350
-
count:1
1351
-
path:src/Statements/LoadStatement.php
1352
-
1353
1268
-
1354
1269
message:"#^Property PhpMyAdmin\\\\SqlParser\\\\Statements\\\\LoadStatement\\:\\:\\$FIELDS_OPTIONS type has no value type specified in iterable type array\\.$#"
1355
1270
count:1
@@ -1390,31 +1305,11 @@ parameters:
1390
1305
count:1
1391
1306
path:src/Statements/LoadStatement.php
1392
1307
1393
-
-
1394
-
message:"#^Method PhpMyAdmin\\\\SqlParser\\\\Statements\\\\LockStatement\\:\\:parse\\(\\) has no return type specified\\.$#"
1395
-
count:1
1396
-
path:src/Statements/LockStatement.php
1397
-
1398
-
-
1399
-
message:"#^Method PhpMyAdmin\\\\SqlParser\\\\Statements\\\\MaintenanceStatement\\:\\:after\\(\\) has no return type specified\\.$#"
1400
-
count:1
1401
-
path:src/Statements/MaintenanceStatement.php
1402
-
1403
-
-
1404
-
message:"#^Method PhpMyAdmin\\\\SqlParser\\\\Statements\\\\NotImplementedStatement\\:\\:parse\\(\\) has no return type specified\\.$#"
1405
-
count:1
1406
-
path:src/Statements/NotImplementedStatement.php
1407
-
1408
1308
-
1409
1309
message:"#^Property PhpMyAdmin\\\\SqlParser\\\\Statements\\\\OptimizeStatement\\:\\:\\$OPTIONS type has no value type specified in iterable type array\\.$#"
1410
1310
count:1
1411
1311
path:src/Statements/OptimizeStatement.php
1412
1312
1413
-
-
1414
-
message:"#^Method PhpMyAdmin\\\\SqlParser\\\\Statements\\\\PurgeStatement\\:\\:parse\\(\\) has no return type specified\\.$#"
1415
-
count:1
1416
-
path:src/Statements/PurgeStatement.php
1417
-
1418
1313
-
1419
1314
message:"#^Method PhpMyAdmin\\\\SqlParser\\\\Statements\\\\PurgeStatement\\:\\:parseExpectedKeyword\\(\\) has parameter \\$expectedKeywords with no value type specified in iterable type array\\.$#"
1420
1315
count:1
@@ -1435,11 +1330,6 @@ parameters:
1435
1330
count:1
1436
1331
path:src/Statements/PurgeStatement.php
1437
1332
1438
-
-
1439
-
message:"#^Method PhpMyAdmin\\\\SqlParser\\\\Statements\\\\RenameStatement\\:\\:before\\(\\) has no return type specified\\.$#"
message:"#^Method PhpMyAdmin\\\\SqlParser\\\\Statements\\\\TransactionStatement\\:\\:parse\\(\\) has no return type specified\\.$#"
1530
-
count:1
1531
-
path:src/Statements/TransactionStatement.php
1532
-
1533
1413
-
1534
1414
message:"#^Property PhpMyAdmin\\\\SqlParser\\\\Statements\\\\TransactionStatement\\:\\:\\$OPTIONS type has no value type specified in iterable type array\\.$#"
1535
1415
count:1
@@ -1550,11 +1430,6 @@ parameters:
1550
1430
count:1
1551
1431
path:src/Statements/UpdateStatement.php
1552
1432
1553
-
-
1554
-
message:"#^Method PhpMyAdmin\\\\SqlParser\\\\Statements\\\\WithStatement\\:\\:parse\\(\\) has no return type specified\\.$#"
1555
-
count:1
1556
-
path:src/Statements/WithStatement.php
1557
-
1558
1433
-
1559
1434
message:"#^Parameter \\#1 \\$name of class PhpMyAdmin\\\\SqlParser\\\\Components\\\\WithKeyword constructor expects string, mixed given\\.$#"
1560
1435
count:1
@@ -1570,11 +1445,6 @@ parameters:
1570
1445
count:1
1571
1446
path:src/TokensList.php
1572
1447
1573
-
-
1574
-
message:"#^Method PhpMyAdmin\\\\SqlParser\\\\TokensList\\:\\:add\\(\\) has no return type specified\\.$#"
1575
-
count:1
1576
-
path:src/TokensList.php
1577
-
1578
1448
-
1579
1449
message:"#^Property PhpMyAdmin\\\\SqlParser\\\\TokensList\\:\\:\\$tokens type has no value type specified in iterable type array\\.$#"
1580
1450
count:1
@@ -1595,16 +1465,6 @@ parameters:
1595
1465
count:1
1596
1466
path:src/Tools/ContextGenerator.php
1597
1467
1598
-
-
1599
-
message:"#^Method PhpMyAdmin\\\\SqlParser\\\\Tools\\\\ContextGenerator\\:\\:build\\(\\) has no return type specified\\.$#"
1600
-
count:1
1601
-
path:src/Tools/ContextGenerator.php
1602
-
1603
-
-
1604
-
message:"#^Method PhpMyAdmin\\\\SqlParser\\\\Tools\\\\ContextGenerator\\:\\:buildAll\\(\\) has no return type specified\\.$#"
1605
-
count:1
1606
-
path:src/Tools/ContextGenerator.php
1607
-
1608
1468
-
1609
1469
message:"#^Method PhpMyAdmin\\\\SqlParser\\\\Tools\\\\ContextGenerator\\:\\:generate\\(\\) has parameter \\$options with no value type specified in iterable type array\\.$#"
1610
1470
count:1
@@ -1655,16 +1515,6 @@ parameters:
1655
1515
count:2
1656
1516
path:src/Tools/TestGenerator.php
1657
1517
1658
-
-
1659
-
message:"#^Method PhpMyAdmin\\\\SqlParser\\\\Tools\\\\TestGenerator\\:\\:build\\(\\) has no return type specified\\.$#"
1660
-
count:1
1661
-
path:src/Tools/TestGenerator.php
1662
-
1663
-
-
1664
-
message:"#^Method PhpMyAdmin\\\\SqlParser\\\\Tools\\\\TestGenerator\\:\\:buildAll\\(\\) has no return type specified\\.$#"
1665
-
count:1
1666
-
path:src/Tools/TestGenerator.php
1667
-
1668
1518
-
1669
1519
message:"#^Method PhpMyAdmin\\\\SqlParser\\\\Tools\\\\TestGenerator\\:\\:generate\\(\\) return type has no value type specified in iterable type array\\.$#"
1670
1520
count:1
@@ -1690,11 +1540,6 @@ parameters:
1690
1540
count:1
1691
1541
path:src/Tools/TestGenerator.php
1692
1542
1693
-
-
1694
-
message:"#^Method PhpMyAdmin\\\\SqlParser\\\\Translator\\:\\:load\\(\\) has no return type specified\\.$#"
1695
-
count:1
1696
-
path:src/Translator.php
1697
-
1698
1543
-
1699
1544
message:"#^Class PhpMyAdmin\\\\SqlParser\\\\UtfString implements generic interface ArrayAccess but does not specify its types\\: TKey, TValue$#"
1700
1545
count:1
@@ -1705,11 +1550,6 @@ parameters:
1705
1550
count:1
1706
1551
path:src/Utils/BufferedQuery.php
1707
1552
1708
-
-
1709
-
message:"#^Method PhpMyAdmin\\\\SqlParser\\\\Utils\\\\BufferedQuery\\:\\:setDelimiter\\(\\) has no return type specified\\.$#"
1710
-
count:1
1711
-
path:src/Utils/BufferedQuery.php
1712
-
1713
1553
-
1714
1554
message:"#^Property PhpMyAdmin\\\\SqlParser\\\\Utils\\\\BufferedQuery\\:\\:\\$options type has no value type specified in iterable type array\\.$#"
1715
1555
count:1
@@ -2460,11 +2300,6 @@ parameters:
2460
2300
count:1
2461
2301
path:tests/TestCase.php
2462
2302
2463
-
-
2464
-
message:"#^Method PhpMyAdmin\\\\SqlParser\\\\Tests\\\\TestCase\\:\\:runParserTest\\(\\) has no return type specified\\.$#"
2465
-
count:1
2466
-
path:tests/TestCase.php
2467
-
2468
2303
-
2469
2304
message:"#^PHPDoc tag @var has no value type specified in iterable type array\\.$#"
2470
2305
count:1
@@ -2480,11 +2315,6 @@ parameters:
2480
2315
count:1
2481
2316
path:tests/Utils/BufferedQueryTest.php
2482
2317
2483
-
-
2484
-
message:"#^Method PhpMyAdmin\\\\SqlParser\\\\Tests\\\\Utils\\\\BufferedQueryTest\\:\\:testExtract\\(\\) has no return type specified\\.$#"
2485
-
count:1
2486
-
path:tests/Utils/BufferedQueryTest.php
2487
-
2488
2318
-
2489
2319
message:"#^Method PhpMyAdmin\\\\SqlParser\\\\Tests\\\\Utils\\\\BufferedQueryTest\\:\\:testExtract\\(\\) has parameter \\$expected with no value type specified in iterable type array\\.$#"
0 commit comments