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
+9-24Lines changed: 9 additions & 24 deletions
Original file line number
Diff line number
Diff line change
@@ -126,7 +126,7 @@ parameters:
126
126
path:src/Components/Expression.php
127
127
128
128
-
129
-
message:"#^Parameter \\#2 \\$pieces of function implode expects array, array\\<string\\>\\|string given\\.$#"
129
+
message:"#^Parameter \\#2 \\$array of function implode expects array\\|null, array\\<string\\>\\|string given\\.$#"
130
130
count:1
131
131
path:src/Components/Expression.php
132
132
@@ -316,7 +316,7 @@ parameters:
316
316
path:src/Components/OptionsArray.php
317
317
318
318
-
319
-
message:"#^Parameter \\#2 \\$str2 of function strcasecmp expects string, mixed given\\.$#"
319
+
message:"#^Parameter \\#2 \\$string2 of function strcasecmp expects string, mixed given\\.$#"
320
320
count:2
321
321
path:src/Components/OptionsArray.php
322
322
@@ -411,7 +411,7 @@ parameters:
411
411
path:src/Components/Reference.php
412
412
413
413
-
414
-
message:"#^Parameter \\#2 \\$pieces of function implode expects array, array\\<string\\>\\|string given\\.$#"
414
+
message:"#^Parameter \\#2 \\$array of function implode expects array\\|null, array\\<string\\>\\|string given\\.$#"
415
415
count:1
416
416
path:src/Components/Reference.php
417
417
@@ -801,12 +801,7 @@ parameters:
801
801
path:src/Tools/ContextGenerator.php
802
802
803
803
-
804
-
message:"#^Offset 'keywords' on array\\{name\\: string, class\\: string, link\\: string, keywords\\: array\\<int, array\\<int, array\\<int, string\\>\\>\\>\\} in isset\\(\\) always exists and is not nullable\\.$#"
805
-
count:1
806
-
path:src/Tools/ContextGenerator.php
807
-
808
-
-
809
-
message:"#^Parameter \\#2 \\.\\.\\.\\$args of function array_merge expects array, array\\<int, string\\>\\|false given\\.$#"
804
+
message:"#^Parameter \\#2 \\.\\.\\.\\$arrays of function array_merge expects array, array\\<int, string\\>\\|false given\\.$#"
810
805
count:1
811
806
path:src/Tools/ContextGenerator.php
812
807
@@ -821,12 +816,12 @@ parameters:
821
816
path:src/Tools/TestGenerator.php
822
817
823
818
-
824
-
message:"#^Parameter \\#1 \\$filename of function is_dir expects string, string\\|null given\\.$#"
819
+
message:"#^Parameter \\#1 \\$directory of function mkdir expects string, string\\|null given\\.$#"
825
820
count:1
826
821
path:src/Tools/TestGenerator.php
827
822
828
823
-
829
-
message:"#^Parameter \\#1 \\$pathname of function mkdir expects string, string\\|null given\\.$#"
824
+
message:"#^Parameter \\#1 \\$filename of function is_dir expects string, string\\|null given\\.$#"
830
825
count:1
831
826
path:src/Tools/TestGenerator.php
832
827
@@ -911,7 +906,7 @@ parameters:
911
906
path:src/Utils/Formatter.php
912
907
913
908
-
914
-
message:"#^Parameter \\#1 \\$input of function str_repeat expects string, array\\<int, array\\<string, int\\|string\\>\\>\\|bool\\|string given\\.$#"
909
+
message:"#^Parameter \\#1 \\$string of function str_repeat expects string, array\\<int, array\\<string, int\\|string\\>\\>\\|bool\\|string given\\.$#"
915
910
count:1
916
911
path:src/Utils/Formatter.php
917
912
@@ -966,7 +961,7 @@ parameters:
966
961
path:src/Utils/Routine.php
967
962
968
963
-
969
-
message:"#^Parameter \\#2 \\$pieces of function implode expects array, array\\<int\\<0, max\\>, mixed\\>\\|string given\\.$#"
964
+
message:"#^Parameter \\#2 \\$array of function implode expects array\\|null, array\\<int\\<0, max\\>, mixed\\>\\|string given\\.$#"
970
965
count:1
971
966
path:src/Utils/Routine.php
972
967
@@ -996,7 +991,7 @@ parameters:
996
991
path:src/Utils/Tokens.php
997
992
998
993
-
999
-
message:"#^Parameter \\#1 \\$str1 of function strcasecmp expects string, int\\|string given\\.$#"
994
+
message:"#^Parameter \\#1 \\$string1 of function strcasecmp expects string, int\\|string given\\.$#"
1000
995
count:1
1001
996
path:src/Utils/Tokens.php
1002
997
@@ -1130,16 +1125,6 @@ parameters:
1130
1125
count:1
1131
1126
path:tests/Parser/WithStatementTest.php
1132
1127
1133
-
-
1134
-
message:"#^Cannot access offset int\\<0, max\\> on non\\-empty\\-array\\<int, string\\>\\|false\\.$#"
1135
-
count:1
1136
-
path:tests/Utils/BufferedQueryTest.php
1137
-
1138
-
-
1139
-
message:"#^Parameter \\#1 \\$var of function count expects array\\|Countable, array\\<int, string\\>\\|false given\\.$#"
0 commit comments