Skip to content

Commit

Permalink
phpstan
Browse files Browse the repository at this point in the history
  • Loading branch information
Nielsvanpach committed Mar 22, 2024
1 parent ffa7382 commit 84538f4
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
20 changes: 20 additions & 0 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/Countries/Syria.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

class Syria extends Country implements HasTranslations, Islamic
{
use IslamicCalendar;
//use IslamicCalendar;
use Translatable;

public function countryCode(): string
Expand Down

0 comments on commit 84538f4

Please sign in to comment.