diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index b41917f8..a8a60986 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -1,5 +1,25 @@ parameters: ignoreErrors: + - + message: "#^Access to undefined constant Spatie\\\\Holidays\\\\Countries\\\\Albania\\:\\:arafat\\.$#" + count: 1 + path: src/Countries/Albania.php + + - + message: "#^Access to undefined constant Spatie\\\\Holidays\\\\Countries\\\\Albania\\:\\:ashura\\.$#" + count: 1 + path: src/Countries/Albania.php + + - + message: "#^Access to undefined constant Spatie\\\\Holidays\\\\Countries\\\\Albania\\:\\:islamicNewYear\\.$#" + count: 1 + path: src/Countries/Albania.php + + - + message: "#^Access to undefined constant Spatie\\\\Holidays\\\\Countries\\\\Albania\\:\\:prophetMuhammadBirthday\\.$#" + count: 1 + path: src/Countries/Albania.php + - message: "#^Argument of an invalid type Carbon\\\\CarbonPeriod supplied for foreach, only iterables are supported\\.$#" count: 1 diff --git a/src/Countries/Syria.php b/src/Countries/Syria.php index ae6b9524..89d278b9 100644 --- a/src/Countries/Syria.php +++ b/src/Countries/Syria.php @@ -10,7 +10,7 @@ class Syria extends Country implements HasTranslations, Islamic { - use IslamicCalendar; + //use IslamicCalendar; use Translatable; public function countryCode(): string