Add PHP 8.4 support and require PHP 8.3+ #126
Annotations
11 errors
|
build (8.3, lowest)
Process completed with exit code 1.
|
|
build (8.3, lowest):
src/Translatable/AbsoluteDateTranslatable.php#L72
Method AssoConnect\PHPDateBundle\Translatable\AbsoluteDateTranslatable::trans() should return string but returns string|true.
|
|
build (8.3, lowest):
src/Translatable/AbsoluteDateTranslatable.php#L60
Strict comparison using !== between string and false will always evaluate to true.
|
|
build (8.3, lowest):
src/Translatable/AbsoluteDateTranslatable.php#L60
Else branch is unreachable because ternary operator condition is always true.
|
|
build (8.4, highest)
Process completed with exit code 1.
|
|
build (8.4, highest):
src/Normalizer/AbsoluteDateNormalizer.php#L56
Return type (AssoConnect\PHPDate\AbsoluteDate|null) of method AssoConnect\PHPDateBundle\Normalizer\AbsoluteDateNormalizer::denormalize() should be covariant with return type (($type is class-string<object> ? object : mixed)) of method Symfony\Component\Serializer\Normalizer\DenormalizerInterface::denormalize()
|
|
build (8.4, highest):
src/AbsoluteDateClock.php#L12
Deprecated in PHP 8.4: Parameter #1 $timeZone (DateTimeZone) is implicitly nullable via default value null.
|
|
build (8.4, lowest)
Process completed with exit code 1.
|
|
build (8.4, lowest)
Process completed with exit code 255.
|
|
build (8.3, highest)
Process completed with exit code 1.
|
|
build (8.3, highest):
src/Normalizer/AbsoluteDateNormalizer.php#L56
Return type (AssoConnect\PHPDate\AbsoluteDate|null) of method AssoConnect\PHPDateBundle\Normalizer\AbsoluteDateNormalizer::denormalize() should be covariant with return type (($type is class-string<object> ? object : mixed)) of method Symfony\Component\Serializer\Normalizer\DenormalizerInterface::denormalize()
|