Skip to content

Add PHP 8.4 support and require PHP 8.3+ #126

Add PHP 8.4 support and require PHP 8.3+

Add PHP 8.4 support and require PHP 8.3+ #126

Triggered via pull request January 27, 2026 15:33
@sylfabresylfabre
synchronize #39
php_8_4
Status Failure
Total duration 35s
Artifacts

build.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

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()