Skip to content

Refactor/islamic calendar #868

Refactor/islamic calendar

Refactor/islamic calendar #868

Triggered via pull request March 11, 2024 14:54
Status Failure
Total duration 29s
Artifacts

phpstan.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
phpstan: src/Calendars/IslamicCalendar.php (in context of class Spatie/Holidays/Countries/Bahrain)#L26
Method Spatie\Holidays\Countries\Bahrain::getHoliday() has parameter $collection with no value type specified in iterable type array.
phpstan: src/Calendars/IslamicCalendar.php (in context of class Spatie/Holidays/Countries/Bahrain)#L26
Method Spatie\Holidays\Countries\Bahrain::getHoliday() return type has no value type specified in iterable type array.
phpstan: src/Calendars/IslamicCalendar.php (in context of class Spatie/Holidays/Countries/Bahrain)#L30
Dead catch - Exception is never thrown in the try block.
phpstan: src/Calendars/IslamicCalendar.php (in context of class Spatie/Holidays/Countries/Bahrain)#L60
Method Spatie\Holidays\Countries\Bahrain::getOverlapping() has parameter $collection with no value type specified in iterable type array.
phpstan: src/Calendars/IslamicCalendar.php (in context of class Spatie/Holidays/Countries/Bahrain)#L60
Method Spatie\Holidays\Countries\Bahrain::getOverlapping() has parameter $totalDays with no type specified.
phpstan: src/Calendars/IslamicCalendar.php (in context of class Spatie/Holidays/Countries/Bahrain)#L64
Dead catch - Exception is never thrown in the try block.
phpstan: src/Calendars/IslamicCalendar.php (in context of class Spatie/Holidays/Countries/Turkey)#L26
Method Spatie\Holidays\Countries\Turkey::getHoliday() has parameter $collection with no value type specified in iterable type array.
phpstan: src/Calendars/IslamicCalendar.php (in context of class Spatie/Holidays/Countries/Turkey)#L26
Method Spatie\Holidays\Countries\Turkey::getHoliday() return type has no value type specified in iterable type array.
phpstan: src/Calendars/IslamicCalendar.php (in context of class Spatie/Holidays/Countries/Turkey)#L30
Dead catch - Exception is never thrown in the try block.
phpstan: src/Calendars/IslamicCalendar.php (in context of class Spatie/Holidays/Countries/Turkey)#L60
Method Spatie\Holidays\Countries\Turkey::getOverlapping() has parameter $collection with no value type specified in iterable type array.