Optimize code #76
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.
|