Skip to content

Merge branch 'master' of github.com:briannesbitt/Carbon into 3.x-merge #1214

Merge branch 'master' of github.com:briannesbitt/Carbon into 3.x-merge

Merge branch 'master' of github.com:briannesbitt/Carbon into 3.x-merge #1214

Triggered via push November 12, 2023 10:47
Status Failure
Total duration 1m 1s
Artifacts

phpstan.yml

on: push
Matrix: PHPStan
Fit to window
Zoom out
Zoom in

Annotations

9 errors
PHPStan (8.1): src/Carbon/CarbonInterval.php#L1222
Method Carbon\CarbonInterval::make() should return static(Carbon\CarbonInterval)|null but returns Carbon\CarbonInterval|null.
PHPStan (8.1): src/Carbon/Traits/Creator.php (in context of class Carbon/CarbonImmutable)#L381
Method Carbon\CarbonImmutable::create() should return static(Carbon\CarbonImmutable)|null but returns Carbon\CarbonImmutable|null.
PHPStan (8.1): src/Carbon/Traits/Units.php (in context of class Carbon/Carbon)#L422
Method Carbon\Carbon::rawAddUnit() should return static(Carbon\Carbon)|null but returns Carbon\Carbon.
PHPStan (8.1): src/Carbon/Traits/Units.php (in context of class Carbon/Carbon)#L427
Method Carbon\Carbon::rawAddUnit() should return static(Carbon\Carbon)|null but returns Carbon\Carbon.
PHPStan (8.1): src/Carbon/Traits/Units.php (in context of class Carbon/CarbonImmutable)#L422
Method Carbon\CarbonImmutable::rawAddUnit() should return static(Carbon\CarbonImmutable)|null but returns Carbon\CarbonImmutable.
PHPStan (8.1): src/Carbon/Traits/Units.php (in context of class Carbon/CarbonImmutable)#L427
Method Carbon\CarbonImmutable::rawAddUnit() should return static(Carbon\CarbonImmutable)|null but returns Carbon\CarbonImmutable.
PHPStan (8.1)
Ignored error pattern #^Call to an undefined method DateTimeInterface::setTimezone\(\)\.$# was not matched in reported errors.
PHPStan (8.1)
Ignored error pattern #should return (\S*)(static|\$this)\(Carbon\\CarbonPeriod\) but returns Carbon\\CarbonPeriod\.$# was not matched in reported errors.
PHPStan (8.1)
Process completed with exit code 1.