Skip to content

Commit

Permalink
Update PHPStan baseline.
Browse files Browse the repository at this point in the history
  • Loading branch information
drupol committed Jul 27, 2021
1 parent 6b0139d commit ed5a4cd
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions phpstan-unsupported-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ parameters:
count: 1
path: src/Operation/Unpack.php

-
message: "#^Parameter \\#1 \\$collection of function reduce_checkMapString expects loophp\\\\collection\\\\Contract\\\\Collection\\<string, string\\>, loophp\\\\collection\\\\Contract\\\\Collection\\<string, non\\-empty\\-string\\> given\\.$#"
count: 1
path: tests/static-analysis/reduce.php

-
message: "#^Parameter \\#1 \\$collection of function reduction_checkListString expects loophp\\\\collection\\\\Contract\\\\Collection\\<int, string\\>, loophp\\\\collection\\\\Contract\\\\Collection\\<int, non\\-empty\\-string\\> given\\.$#"
count: 1
Expand All @@ -35,13 +40,33 @@ parameters:
count: 1
path: tests/static-analysis/reduction.php

-
message: "#^Parameter \\#1 \\$collection of function scanLeft_checkListOfSize1String expects loophp\\\\collection\\\\Contract\\\\Collection\\<int, bool\\|string\\>, loophp\\\\collection\\\\Contract\\\\Collection\\<int, bool\\|non\\-empty\\-string\\> given\\.$#"
count: 1
path: tests/static-analysis/scanLeft.php

-
message: "#^Parameter \\#1 \\$collection of function scanLeft_checkListStringWithNull expects loophp\\\\collection\\\\Contract\\\\Collection\\<int, string\\|null\\>, loophp\\\\collection\\\\Contract\\\\Collection\\<int, non\\-empty\\-string\\|null\\> given\\.$#"
count: 1
path: tests/static-analysis/scanLeft.php

-
message: "#^Parameter \\#1 \\$collection of function scanLeft1_checkListOfSize1String expects loophp\\\\collection\\\\Contract\\\\Collection\\<int, int\\|string\\>, loophp\\\\collection\\\\Contract\\\\Collection\\<int, int\\|non\\-empty\\-string\\> given\\.$#"
count: 1
path: tests/static-analysis/scanLeft1.php

-
message: "#^Parameter \\#1 \\$collection of function scanRight_checkListOfSize1String expects loophp\\\\collection\\\\Contract\\\\Collection\\<int, bool\\|string\\>, loophp\\\\collection\\\\Contract\\\\Collection\\<int, bool\\|non\\-empty\\-string\\> given\\.$#"
count: 1
path: tests/static-analysis/scanRight.php

-
message: "#^Parameter \\#1 \\$collection of function scanRight_checkListStringWithNull expects loophp\\\\collection\\\\Contract\\\\Collection\\<int, string\\|null\\>, loophp\\\\collection\\\\Contract\\\\Collection\\<int, non\\-empty\\-string\\|null\\> given\\.$#"
count: 1
path: tests/static-analysis/scanRight.php

-
message: "#^Parameter \\#1 \\$collection of function scanRight1_checkListOfSize1String expects loophp\\\\collection\\\\Contract\\\\Collection\\<int, int\\|string\\>, loophp\\\\collection\\\\Contract\\\\Collection\\<int, int\\|non\\-empty\\-string\\> given\\.$#"
count: 1
path: tests/static-analysis/scanRight1.php

0 comments on commit ed5a4cd

Please sign in to comment.