Skip to content

Update nesbot/carbon requirement from ^2.72.1 to ^3.0.0 #780

Update nesbot/carbon requirement from ^2.72.1 to ^3.0.0

Update nesbot/carbon requirement from ^2.72.1 to ^3.0.0 #780

Triggered via push February 5, 2024 16:03
Status Failure
Total duration 30s
Artifacts

phpstan.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
phpstan: src/Countries/Argentine.php#L18
Array has 2 duplicate keys with value 'Carnaval' ('Carnaval', 'Carnaval').
phpstan: src/Countries/Australia.php#L1
Ignored error pattern #^Cannot call method modify\(\) on Carbon\\CarbonImmutable\|false\.$# in path /home/runner/work/holidays/holidays/src/Countries/Australia.php was not matched in reported errors.
phpstan: src/Countries/Australia.php#L44
Cannot call method modify() on Carbon\CarbonImmutable|null.
phpstan: src/Countries/Colombia.php#L54
Method Spatie\Holidays\Countries\Colombia::emilianiHoliday() should return Carbon\CarbonImmutable but returns Carbon\CarbonInterface.
phpstan: src/Countries/Country.php#L1
Ignored error pattern #^Cannot call method startOfDay\(\) on Carbon\\CarbonImmutable\|false\.$# in path /home/runner/work/holidays/holidays/src/Countries/Country.php was not matched in reported errors.
phpstan: src/Countries/Country.php#L1
Ignored error pattern #^Method Spatie\\Holidays\\Countries\\Country\:\:get\(\) should return array\<string, Carbon\\CarbonImmutable\|string\> but returns array\<string, Carbon\\CarbonImmutable\|false\>\.$# in path /home/runner/work/holidays/holidays/src/Countries/Country.php was not matched in reported errors.
phpstan: src/Countries/Country.php#L1
Ignored error pattern #^Parameter \#2 \$callback of function uasort expects callable\(bool\|Carbon\\CarbonImmutable, bool\|Carbon\\CarbonImmutable\)\: int, Closure\(Carbon\\CarbonImmutable, Carbon\\CarbonImmutable\)\: int\<\-1, 1\> given\.$# in path /home/runner/work/holidays/holidays/src/Countries/Country.php was not matched in reported errors.
phpstan: src/Countries/Finland.php#L40
Method Spatie\Holidays\Countries\Finland::variableHolidays() should return array<string, Carbon\CarbonImmutable> but returns array<string, Carbon\CarbonInterface>.
phpstan: src/Countries/Jamaica.php#L81
Method Spatie\Holidays\Countries\Jamaica::observedHolidays() should return array<string, Carbon\CarbonImmutable> but returns array<string, Carbon\CarbonInterface>.
phpstan: src/Countries/NorthernIreland.php#L25
Method Spatie\Holidays\Countries\NorthernIreland::stPatricksDay() should return array<string, Carbon\CarbonImmutable> but returns array<string, Carbon\CarbonInterface>.