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:'#^Parameter \#1 \$str of class PhpMyAdmin\\SqlParser\\Lexer constructor expects PhpMyAdmin\\SqlParser\\UtfString\|string, string\|false given\.$#'
1757
1757
identifier:argument.type
1758
-
count:1
1758
+
count:2
1759
1759
path:src/Utils/CLI.php
1760
1760
1761
1761
-
1762
-
message:'#^Parameter \#1 \$str of class PhpMyAdmin\\SqlParser\\Lexer constructor expects PhpMyAdmin\\SqlParser\\UtfString\|string, string\|false given\.$#'
1762
+
message:'#^Parameter \$type of class PhpMyAdmin\\SqlParser\\Utils\\FormattingOptions constructor expects ''cli''\|''html''\|''text'', string\|false given\.$#'
1763
1763
identifier:argument.type
1764
-
count:2
1764
+
count:1
1765
1765
path:src/Utils/CLI.php
1766
1766
1767
1767
-
@@ -1770,52 +1770,10 @@ parameters:
1770
1770
count:1
1771
1771
path:src/Utils/Error.php
1772
1772
1773
-
-
1774
-
message:'#^Argument of an invalid type array\<int, array\<string, int\|string\>\>\|bool\|string supplied for foreach, only iterables are supported\.$#'
1775
-
identifier:foreach.nonIterable
1776
-
count:1
1777
-
path:src/Utils/Formatter.php
1778
-
1779
-
-
1780
-
message:'#^Binary operation "&" between int and int\|string results in an error\.$#'
1781
-
identifier:binaryOp.invalid
1782
-
count:1
1783
-
path:src/Utils/Formatter.php
1784
-
1785
-
-
1786
-
message:'#^Binary operation "&\=" between array\<int, array\<string, int\|string\>\>\|bool\|string\|null and array\<int, array\<string, int\|string\>\>\|bool\|string\|null results in an error\.$#'
1787
-
identifier:assignOp.invalid
1788
-
count:1
1789
-
path:src/Utils/Formatter.php
1790
-
1791
-
-
1792
-
message:'#^Binary operation "\." between array\<int, array\<string, int\|string\>\>\|bool\|string and string results in an error\.$#'
1793
-
identifier:binaryOp.invalid
1794
-
count:1
1795
-
path:src/Utils/Formatter.php
1796
-
1797
-
-
1798
-
message:'#^Binary operation "\.\=" between string and mixed results in an error\.$#'
1799
-
identifier:assignOp.invalid
1800
-
count:1
1801
-
path:src/Utils/Formatter.php
1802
-
1803
-
-
1804
-
message:'#^Call to function in_array\(\) requires parameter \#3 to be set\.$#'
1805
-
identifier:function.strict
1806
-
count:1
1807
-
path:src/Utils/Formatter.php
1808
-
1809
1773
-
1810
1774
message:'#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
1811
1775
identifier:empty.notAllowed
1812
-
count:4
1813
-
path:src/Utils/Formatter.php
1814
-
1815
-
-
1816
-
message:'#^Method PhpMyAdmin\\SqlParser\\Utils\\Formatter\:\:getMergedOptions\(\) should return array\<string, array\<int, array\<string, int\|string\>\>\|bool\|string\> but returns array\<string, mixed\>\.$#'
1817
-
identifier:return.type
1818
-
count:1
1776
+
count:3
1819
1777
path:src/Utils/Formatter.php
1820
1778
1821
1779
-
@@ -1824,30 +1782,12 @@ parameters:
1824
1782
count:1
1825
1783
path:src/Utils/Formatter.php
1826
1784
1827
-
-
1828
-
message:'#^Only booleans are allowed in &&, array\<int, array\<string, int\|string\>\>\|bool\|string given on the left side\.$#'
1829
-
identifier:booleanAnd.leftNotBoolean
1830
-
count:2
1831
-
path:src/Utils/Formatter.php
1832
-
1833
-
-
1834
-
message:'#^Only booleans are allowed in &&, array\<int, array\<string, int\|string\>\>\|bool\|string given on the right side\.$#'
1835
-
identifier:booleanAnd.rightNotBoolean
1836
-
count:2
1837
-
path:src/Utils/Formatter.php
1838
-
1839
1785
-
1840
1786
message:'#^Only booleans are allowed in an if condition, bool\|int given\.$#'
1841
1787
identifier:if.condNotBoolean
1842
1788
count:1
1843
1789
path:src/Utils/Formatter.php
1844
1790
1845
-
-
1846
-
message:'#^Only booleans are allowed in \|\|, array\<int, array\<string, int\|string\>\>\|bool\|string given on the right side\.$#'
1847
-
identifier:booleanOr.rightNotBoolean
1848
-
count:1
1849
-
path:src/Utils/Formatter.php
1850
-
1851
1791
-
1852
1792
message:'#^Only booleans are allowed in \|\|, int\<0, 32\> given on the right side\.$#'
1853
1793
identifier:booleanOr.rightNotBoolean
@@ -1866,36 +1806,18 @@ parameters:
1866
1806
count:2
1867
1807
path:src/Utils/Formatter.php
1868
1808
1869
-
-
1870
-
message:'#^Parameter \#1 \$string of function str_repeat expects string, array\<int, array\<string, int\|string\>\>\|bool\|string given\.$#'
1871
-
identifier:argument.type
1872
-
count:1
1873
-
path:src/Utils/Formatter.php
1874
-
1875
1809
-
1876
1810
message:'#^Parameter \#1 \$string of method PhpMyAdmin\\SqlParser\\Utils\\Formatter\:\:escapeConsole\(\) expects string, mixed given\.$#'
0 commit comments