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\.$#'
1817
1817
identifier:argument.type
1818
-
count:1
1818
+
count:2
1819
1819
path:src/Utils/CLI.php
1820
1820
1821
1821
-
1822
-
message:'#^Parameter \#1 \$str of class PhpMyAdmin\\SqlParser\\Lexer constructor expects PhpMyAdmin\\SqlParser\\UtfString\|string, string\|false given\.$#'
1822
+
message:'#^Parameter \$type of class PhpMyAdmin\\SqlParser\\Utils\\FormattingOptions constructor expects ''cli''\|''html''\|''text'', string\|false given\.$#'
1823
1823
identifier:argument.type
1824
-
count:2
1824
+
count:1
1825
1825
path:src/Utils/CLI.php
1826
1826
1827
1827
-
@@ -1830,52 +1830,10 @@ parameters:
1830
1830
count:1
1831
1831
path:src/Utils/Error.php
1832
1832
1833
-
-
1834
-
message:'#^Argument of an invalid type array\<int, array\<string, int\|string\>\>\|bool\|string supplied for foreach, only iterables are supported\.$#'
1835
-
identifier:foreach.nonIterable
1836
-
count:1
1837
-
path:src/Utils/Formatter.php
1838
-
1839
-
-
1840
-
message:'#^Binary operation "&" between int and int\|string results in an error\.$#'
1841
-
identifier:binaryOp.invalid
1842
-
count:1
1843
-
path:src/Utils/Formatter.php
1844
-
1845
-
-
1846
-
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\.$#'
1847
-
identifier:assignOp.invalid
1848
-
count:1
1849
-
path:src/Utils/Formatter.php
1850
-
1851
-
-
1852
-
message:'#^Binary operation "\." between array\<int, array\<string, int\|string\>\>\|bool\|string and string results in an error\.$#'
1853
-
identifier:binaryOp.invalid
1854
-
count:1
1855
-
path:src/Utils/Formatter.php
1856
-
1857
-
-
1858
-
message:'#^Binary operation "\.\=" between string and mixed results in an error\.$#'
1859
-
identifier:assignOp.invalid
1860
-
count:1
1861
-
path:src/Utils/Formatter.php
1862
-
1863
-
-
1864
-
message:'#^Call to function in_array\(\) requires parameter \#3 to be set\.$#'
1865
-
identifier:function.strict
1866
-
count:1
1867
-
path:src/Utils/Formatter.php
1868
-
1869
1833
-
1870
1834
message:'#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
1871
1835
identifier:empty.notAllowed
1872
-
count:4
1873
-
path:src/Utils/Formatter.php
1874
-
1875
-
-
1876
-
message:'#^Method PhpMyAdmin\\SqlParser\\Utils\\Formatter\:\:getMergedOptions\(\) should return array\<string, array\<int, array\<string, int\|string\>\>\|bool\|string\> but returns array\<string, mixed\>\.$#'
1877
-
identifier:return.type
1878
-
count:1
1836
+
count:3
1879
1837
path:src/Utils/Formatter.php
1880
1838
1881
1839
-
@@ -1884,30 +1842,12 @@ parameters:
1884
1842
count:1
1885
1843
path:src/Utils/Formatter.php
1886
1844
1887
-
-
1888
-
message:'#^Only booleans are allowed in &&, array\<int, array\<string, int\|string\>\>\|bool\|string given on the left side\.$#'
1889
-
identifier:booleanAnd.leftNotBoolean
1890
-
count:2
1891
-
path:src/Utils/Formatter.php
1892
-
1893
-
-
1894
-
message:'#^Only booleans are allowed in &&, array\<int, array\<string, int\|string\>\>\|bool\|string given on the right side\.$#'
1895
-
identifier:booleanAnd.rightNotBoolean
1896
-
count:2
1897
-
path:src/Utils/Formatter.php
1898
-
1899
1845
-
1900
1846
message:'#^Only booleans are allowed in an if condition, bool\|int given\.$#'
1901
1847
identifier:if.condNotBoolean
1902
1848
count:1
1903
1849
path:src/Utils/Formatter.php
1904
1850
1905
-
-
1906
-
message:'#^Only booleans are allowed in \|\|, array\<int, array\<string, int\|string\>\>\|bool\|string given on the right side\.$#'
1907
-
identifier:booleanOr.rightNotBoolean
1908
-
count:1
1909
-
path:src/Utils/Formatter.php
1910
-
1911
1851
-
1912
1852
message:'#^Only booleans are allowed in \|\|, int\<0, 32\> given on the right side\.$#'
1913
1853
identifier:booleanOr.rightNotBoolean
@@ -1926,26 +1866,14 @@ parameters:
1926
1866
count:2
1927
1867
path:src/Utils/Formatter.php
1928
1868
1929
-
-
1930
-
message:'#^Parameter \#1 \$string of function str_repeat expects string, array\<int, array\<string, int\|string\>\>\|bool\|string given\.$#'
1931
-
identifier:argument.type
1932
-
count:1
1933
-
path:src/Utils/Formatter.php
1934
-
1935
1869
-
1936
1870
message:'#^Parameter \#1 \$string of method PhpMyAdmin\\SqlParser\\Utils\\Formatter\:\:escapeConsole\(\) expects string, mixed given\.$#'
0 commit comments