diff --git a/phpstan-unsupported-baseline.neon b/phpstan-unsupported-baseline.neon index a8e3458ca..6ac75d06a 100644 --- a/phpstan-unsupported-baseline.neon +++ b/phpstan-unsupported-baseline.neon @@ -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\\, loophp\\\\collection\\\\Contract\\\\Collection\\ given\\.$#" + count: 1 + path: tests/static-analysis/reduce.php + - message: "#^Parameter \\#1 \\$collection of function reduction_checkListString expects loophp\\\\collection\\\\Contract\\\\Collection\\, loophp\\\\collection\\\\Contract\\\\Collection\\ given\\.$#" count: 1 @@ -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\\, loophp\\\\collection\\\\Contract\\\\Collection\\ given\\.$#" + count: 1 + path: tests/static-analysis/scanLeft.php + - message: "#^Parameter \\#1 \\$collection of function scanLeft_checkListStringWithNull expects loophp\\\\collection\\\\Contract\\\\Collection\\, loophp\\\\collection\\\\Contract\\\\Collection\\ given\\.$#" count: 1 path: tests/static-analysis/scanLeft.php + - + message: "#^Parameter \\#1 \\$collection of function scanLeft1_checkListOfSize1String expects loophp\\\\collection\\\\Contract\\\\Collection\\, loophp\\\\collection\\\\Contract\\\\Collection\\ given\\.$#" + count: 1 + path: tests/static-analysis/scanLeft1.php + + - + message: "#^Parameter \\#1 \\$collection of function scanRight_checkListOfSize1String expects loophp\\\\collection\\\\Contract\\\\Collection\\, loophp\\\\collection\\\\Contract\\\\Collection\\ given\\.$#" + count: 1 + path: tests/static-analysis/scanRight.php + - message: "#^Parameter \\#1 \\$collection of function scanRight_checkListStringWithNull expects loophp\\\\collection\\\\Contract\\\\Collection\\, loophp\\\\collection\\\\Contract\\\\Collection\\ given\\.$#" count: 1 path: tests/static-analysis/scanRight.php + - + message: "#^Parameter \\#1 \\$collection of function scanRight1_checkListOfSize1String expects loophp\\\\collection\\\\Contract\\\\Collection\\, loophp\\\\collection\\\\Contract\\\\Collection\\ given\\.$#" + count: 1 + path: tests/static-analysis/scanRight1.php +