diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index a8a609863..bf7869c43 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -20,6 +20,11 @@ parameters: count: 1 path: src/Countries/Albania.php + - + message: "#^Parameter \\$holiday of method Spatie\\\\Holidays\\\\Countries\\\\Benin\\:\\:prepareHolidays\\(\\) expects Carbon\\\\CarbonImmutable, Carbon\\\\CarbonImmutable\\|null given\\.$#" + count: 3 + path: src/Countries/Benin.php + - message: "#^Argument of an invalid type Carbon\\\\CarbonPeriod supplied for foreach, only iterables are supported\\.$#" count: 1 @@ -35,6 +40,11 @@ parameters: count: 1 path: src/Countries/Country.php + - + message: "#^Method Spatie\\\\Holidays\\\\Countries\\\\Morocco\\:\\:variableHolidays\\(\\) should return array\\ but returns array\\\\.$#" + count: 1 + path: src/Countries/Morocco.php + - message: "#^Access to undefined constant Spatie\\\\Holidays\\\\Countries\\\\Turkey\\:\\:arafat\\.$#" count: 1