Update nesbot/carbon requirement from ^2.72.1 to ^3.0.0 #780
Annotations
10 errors
Run PHPStan:
src/Countries/Argentine.php#L18
Array has 2 duplicate keys with value 'Carnaval' ('Carnaval', 'Carnaval').
|
Run 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.
|
Run PHPStan:
src/Countries/Australia.php#L44
Cannot call method modify() on Carbon\CarbonImmutable|null.
|
Run PHPStan:
src/Countries/Colombia.php#L54
Method Spatie\Holidays\Countries\Colombia::emilianiHoliday() should return Carbon\CarbonImmutable but returns Carbon\CarbonInterface.
|
Run 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.
|
Run 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.
|
Run 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.
|
Run PHPStan:
src/Countries/Finland.php#L40
Method Spatie\Holidays\Countries\Finland::variableHolidays() should return array<string, Carbon\CarbonImmutable> but returns array<string, Carbon\CarbonInterface>.
|
Run PHPStan:
src/Countries/Jamaica.php#L81
Method Spatie\Holidays\Countries\Jamaica::observedHolidays() should return array<string, Carbon\CarbonImmutable> but returns array<string, Carbon\CarbonInterface>.
|
Run PHPStan:
src/Countries/NorthernIreland.php#L25
Method Spatie\Holidays\Countries\NorthernIreland::stPatricksDay() should return array<string, Carbon\CarbonImmutable> but returns array<string, Carbon\CarbonInterface>.
|
The logs for this run have expired and are no longer available.
Loading