Skip to content

Optimize code

Optimize code #76

Triggered via push November 11, 2024 15:47
Status Failure
Total duration 26s
Artifacts

build.yml

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

Annotations

25 errors
Testing on PHP 8.4: src/AbstractZodiac.php#L32
Method Intervention\Zodiac\AbstractZodiac::start() has Intervention\Zodiac\Exceptions\RuntimeException in PHPDoc @throws tag but it's not thrown.
Testing on PHP 8.4: src/AbstractZodiac.php#L39
Strict comparison using === between Carbon\Carbon|null and false will always evaluate to false.
Testing on PHP 8.4: src/AbstractZodiac.php#L43
Method Intervention\Zodiac\AbstractZodiac::start() should return Carbon\Carbon but returns Carbon\Carbon|null.
Testing on PHP 8.4: src/AbstractZodiac.php#L53
Method Intervention\Zodiac\AbstractZodiac::end() has Intervention\Zodiac\Exceptions\RuntimeException in PHPDoc @throws tag but it's not thrown.
Testing on PHP 8.4: src/AbstractZodiac.php#L63
Strict comparison using === between Carbon\Carbon|null and false will always evaluate to false.
Testing on PHP 8.4: src/AbstractZodiac.php#L67
Method Intervention\Zodiac\AbstractZodiac::end() should return Carbon\Carbon but returns Carbon\Carbon|null.
Testing on PHP 8.4
Process completed with exit code 1.
Testing on PHP 8.3
The job was canceled because "_8_4" failed.
Testing on PHP 8.3: src/AbstractZodiac.php#L32
Method Intervention\Zodiac\AbstractZodiac::start() has Intervention\Zodiac\Exceptions\RuntimeException in PHPDoc @throws tag but it's not thrown.
Testing on PHP 8.3: src/AbstractZodiac.php#L39
Strict comparison using === between Carbon\Carbon|null and false will always evaluate to false.
Testing on PHP 8.3: src/AbstractZodiac.php#L43
Method Intervention\Zodiac\AbstractZodiac::start() should return Carbon\Carbon but returns Carbon\Carbon|null.
Testing on PHP 8.3: src/AbstractZodiac.php#L53
Method Intervention\Zodiac\AbstractZodiac::end() has Intervention\Zodiac\Exceptions\RuntimeException in PHPDoc @throws tag but it's not thrown.
Testing on PHP 8.3: src/AbstractZodiac.php#L63
Strict comparison using === between Carbon\Carbon|null and false will always evaluate to false.
Testing on PHP 8.3: src/AbstractZodiac.php#L67
Method Intervention\Zodiac\AbstractZodiac::end() should return Carbon\Carbon but returns Carbon\Carbon|null.
Testing on PHP 8.3
Process completed with exit code 1.
Testing on PHP 8.1
The job was canceled because "_8_4" failed.
Testing on PHP 8.1
The operation was canceled.
Testing on PHP 8.2
The job was canceled because "_8_4" failed.
Testing on PHP 8.2: src/AbstractZodiac.php#L32
Method Intervention\Zodiac\AbstractZodiac::start() has Intervention\Zodiac\Exceptions\RuntimeException in PHPDoc @throws tag but it's not thrown.
Testing on PHP 8.2: src/AbstractZodiac.php#L39
Strict comparison using === between Carbon\Carbon|null and false will always evaluate to false.
Testing on PHP 8.2: src/AbstractZodiac.php#L43
Method Intervention\Zodiac\AbstractZodiac::start() should return Carbon\Carbon but returns Carbon\Carbon|null.
Testing on PHP 8.2: src/AbstractZodiac.php#L53
Method Intervention\Zodiac\AbstractZodiac::end() has Intervention\Zodiac\Exceptions\RuntimeException in PHPDoc @throws tag but it's not thrown.
Testing on PHP 8.2: src/AbstractZodiac.php#L63
Strict comparison using === between Carbon\Carbon|null and false will always evaluate to false.
Testing on PHP 8.2: src/AbstractZodiac.php#L67
Method Intervention\Zodiac\AbstractZodiac::end() should return Carbon\Carbon but returns Carbon\Carbon|null.
Testing on PHP 8.2
The operation was canceled.