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:'#^Only booleans are allowed in an if condition, int\<0, 1\> given\.$#'
1078
+
message:'#^Only booleans are allowed in an if condition, int given\.$#'
1133
1079
identifier:if.condNotBoolean
1134
-
count:1
1135
-
path:src/Statement.php
1136
-
1137
-
-
1138
-
message:'#^Only booleans are allowed in an if condition, int\<0, 2\> given\.$#'
1139
-
identifier:if.condNotBoolean
1140
-
count:1
1080
+
count:2
1141
1081
path:src/Statement.php
1142
1082
1143
1083
-
@@ -1152,12 +1092,6 @@ parameters:
1152
1092
count:1
1153
1093
path:src/Statement.php
1154
1094
1155
-
-
1156
-
message:'#^Variable property access on \$this\(PhpMyAdmin\\SqlParser\\Statement\)\.$#'
1157
-
identifier:property.dynamicName
1158
-
count:5
1159
-
path:src/Statement.php
1160
-
1161
1095
-
1162
1096
message:'#^Argument of an invalid type array\<PhpMyAdmin\\SqlParser\\Components\\AlterOperation\>\|null supplied for foreach, only iterables are supported\.$#'
1163
1097
identifier:foreach.nonIterable
@@ -1249,13 +1183,13 @@ parameters:
1249
1183
path:src/Statements/CreateStatement.php
1250
1184
1251
1185
-
1252
-
message:'#^Only numeric types are allowed in \+, int\|false given on the left side\.$#'
1186
+
message:'#^Only numeric types are allowed in \+, int\<0, 2\>\|false given on the left side\.$#'
1253
1187
identifier:plus.leftNonNumeric
1254
1188
count:1
1255
1189
path:src/Statements/CreateStatement.php
1256
1190
1257
1191
-
1258
-
message:'#^Only numeric types are allowed in pre\-decrement, int\|false given\.$#'
1192
+
message:'#^Only numeric types are allowed in pre\-decrement, int\<0, 2\>\|false given\.$#'
1259
1193
identifier:preDec.nonNumeric
1260
1194
count:1
1261
1195
path:src/Statements/CreateStatement.php
@@ -1290,12 +1224,6 @@ parameters:
1290
1224
count:1
1291
1225
path:src/Statements/CreateStatement.php
1292
1226
1293
-
-
1294
-
message:'#^Variable property access on \$this\(PhpMyAdmin\\SqlParser\\Statements\\CreateStatement\)\.$#'
1295
-
identifier:property.dynamicName
1296
-
count:3
1297
-
path:src/Statements/CreateStatement.php
1298
-
1299
1227
-
1300
1228
message:'#^Argument of an invalid type array\<PhpMyAdmin\\SqlParser\\Components\\Expression\>\|null supplied for foreach, only iterables are supported\.$#'
1301
1229
identifier:foreach.nonIterable
@@ -1590,12 +1518,6 @@ parameters:
1590
1518
count:1
1591
1519
path:src/Statements/SelectStatement.php
1592
1520
1593
-
-
1594
-
message:'#^Variable property access on \$this\(PhpMyAdmin\\SqlParser\\Statements\\SelectStatement\)\.$#'
1595
-
identifier:property.dynamicName
1596
-
count:1
1597
-
path:src/Statements/SelectStatement.php
1598
-
1599
1521
-
1600
1522
message:'#^Cannot call method build\(\) on PhpMyAdmin\\SqlParser\\Components\\OptionsArray\|null\.$#'
1601
1523
identifier:method.nonObject
@@ -1656,6 +1578,18 @@ parameters:
1656
1578
count:1
1657
1579
path:src/Statements/WithStatement.php
1658
1580
1581
+
-
1582
+
message:'#^Possibly invalid array key type bool\|float\|int\|string\.$#'
1583
+
identifier:offsetAccess.invalidOffset
1584
+
count:1
1585
+
path:src/Statements/WithStatement.php
1586
+
1587
+
-
1588
+
message:'#^Possibly invalid array key type bool\|float\|int\|string\|null\.$#'
1589
+
identifier:offsetAccess.invalidOffset
1590
+
count:2
1591
+
path:src/Statements/WithStatement.php
1592
+
1659
1593
-
1660
1594
message:'#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
1661
1595
identifier:empty.notAllowed
@@ -1704,6 +1638,18 @@ parameters:
1704
1638
count:1
1705
1639
path:src/Tools/ContextGenerator.php
1706
1640
1641
+
-
1642
+
message:'#^Offset 1 might not exist on array\{\}\|array\{non\-falsy\-string, non\-empty\-string, numeric\-string\}\.$#'
1643
+
identifier:offsetAccess.notFound
1644
+
count:1
1645
+
path:src/Tools/ContextGenerator.php
1646
+
1647
+
-
1648
+
message:'#^Offset 2 might not exist on array\{\}\|array\{non\-falsy\-string, non\-empty\-string, numeric\-string\}\.$#'
1649
+
identifier:offsetAccess.notFound
1650
+
count:1
1651
+
path:src/Tools/ContextGenerator.php
1652
+
1707
1653
-
1708
1654
message:'#^Parameter \#1 \$string of function trim expects string, mixed given\.$#'
1709
1655
identifier:argument.type
@@ -1944,6 +1890,12 @@ parameters:
1944
1890
count:1
1945
1891
path:src/Utils/Formatter.php
1946
1892
1893
+
-
1894
+
message:'#^Possibly invalid array key type bool\|float\|int\|string\.$#'
1895
+
identifier:offsetAccess.invalidOffset
1896
+
count:7
1897
+
path:src/Utils/Formatter.php
1898
+
1947
1899
-
1948
1900
message:'#^Trying to invoke int\<min, \-1\>\|int\<1, max\>\|non\-falsy\-string but it might not be a callable\.$#'
0 commit comments