Skip to content

Add the possibility to not pass a DateTimeZone in now() #124

Add the possibility to not pass a DateTimeZone in now()

Add the possibility to not pass a DateTimeZone in now() #124

Triggered via pull request January 23, 2026 11:00
Status Failure
Total duration 30s
Artifacts

build.yml

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

Annotations

24 errors
build (8.2, highest)
Process completed with exit code 1.
build (8.2, 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.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()
build (8.2, lowest)
Process completed with exit code 2.
build (8.2, lowest)
Process completed with exit code 1.
build (8.2, lowest): src/Validator/ConstraintsSetFactory/Field/DateTimeZoneProvider.php#L19
Parameter $fieldMapping of method AssoConnect\PHPDateBundle\Validator\ConstraintsSetFactory\Field\DateTimeZoneProvider::getConstraints() has invalid type AssoConnect\ValidatorBundle\Validator\ConstraintsSetProvider\Field\FieldMapping.
build (8.2, lowest): src/Validator/ConstraintsSetFactory/Field/DateTimeZoneProvider.php#L19
Method AssoConnect\PHPDateBundle\Validator\ConstraintsSetFactory\Field\DateTimeZoneProvider::getConstraints() has parameter $fieldMapping with no value type specified in iterable type array.
build (8.3, lowest)
Process completed with exit code 2.
build (8.2, lowest): src/Validator/ConstraintsSetFactory/Field/AbsoluteDateProvider.php#L19
Parameter $fieldMapping of method AssoConnect\PHPDateBundle\Validator\ConstraintsSetFactory\Field\AbsoluteDateProvider::getConstraints() has invalid type AssoConnect\ValidatorBundle\Validator\ConstraintsSetProvider\Field\FieldMapping.
build (8.3, lowest)
Process completed with exit code 1.
build (8.2, lowest): src/Validator/ConstraintsSetFactory/Field/AbsoluteDateProvider.php#L19
Method AssoConnect\PHPDateBundle\Validator\ConstraintsSetFactory\Field\AbsoluteDateProvider::getConstraints() has parameter $fieldMapping with no value type specified in iterable type array.
build (8.3, lowest): src/Validator/ConstraintsSetFactory/Field/DateTimeZoneProvider.php#L19
Parameter $fieldMapping of method AssoConnect\PHPDateBundle\Validator\ConstraintsSetFactory\Field\DateTimeZoneProvider::getConstraints() has invalid type AssoConnect\ValidatorBundle\Validator\ConstraintsSetProvider\Field\FieldMapping.
build (8.2, lowest): src/Translatable/AbsoluteDateTranslatable.php#L72
Method AssoConnect\PHPDateBundle\Translatable\AbsoluteDateTranslatable::trans() should return string but returns string|true.
build (8.3, lowest): src/Validator/ConstraintsSetFactory/Field/DateTimeZoneProvider.php#L19
Method AssoConnect\PHPDateBundle\Validator\ConstraintsSetFactory\Field\DateTimeZoneProvider::getConstraints() has parameter $fieldMapping with no value type specified in iterable type array.
build (8.2, lowest): src/Translatable/AbsoluteDateTranslatable.php#L60
Strict comparison using !== between string and false will always evaluate to true.
build (8.3, lowest): src/Validator/ConstraintsSetFactory/Field/AbsoluteDateProvider.php#L19
Parameter $fieldMapping of method AssoConnect\PHPDateBundle\Validator\ConstraintsSetFactory\Field\AbsoluteDateProvider::getConstraints() has invalid type AssoConnect\ValidatorBundle\Validator\ConstraintsSetProvider\Field\FieldMapping.
build (8.2, lowest): src/Translatable/AbsoluteDateTranslatable.php#L60
Else branch is unreachable because ternary operator condition is always true.
build (8.3, lowest): src/Validator/ConstraintsSetFactory/Field/AbsoluteDateProvider.php#L19
Method AssoConnect\PHPDateBundle\Validator\ConstraintsSetFactory\Field\AbsoluteDateProvider::getConstraints() has parameter $fieldMapping with no value type specified in iterable type array.
build (8.2, lowest): src/ThirdParty/Symfony/HttpKernel/Controller/ArgumentResolver/AbsoluteDateValueResolver.php#L14
Class AssoConnect\PHPDateBundle\ThirdParty\Symfony\HttpKernel\Controller\ArgumentResolver\AbsoluteDateValueResolver implements unknown interface Symfony\Component\HttpKernel\Controller\ValueResolverInterface.
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.3, lowest): src/ThirdParty/Symfony/HttpKernel/Controller/ArgumentResolver/AbsoluteDateValueResolver.php#L14
Class AssoConnect\PHPDateBundle\ThirdParty\Symfony\HttpKernel\Controller\ArgumentResolver\AbsoluteDateValueResolver implements unknown interface Symfony\Component\HttpKernel\Controller\ValueResolverInterface.