Upgrade assoconnect/php-quality-config to v2 #128
Annotations
26 errors
|
build (8.3, highest)
Process completed with exit code 1.
|
|
build (8.3, highest):
src/Validator/ConstraintsSetFactory/Field/DateTimeZoneProvider.php#L19
Method getConstraints always return list, but is marked as array<Symfony\Component\Validator\Constraint>
|
|
build (8.3, highest):
src/Validator/ConstraintsSetFactory/Field/AbsoluteDateProvider.php#L19
Method getConstraints always return list, but is marked as array<Symfony\Component\Validator\Constraint>
|
|
build (8.3, highest):
src/Twig/Extension/AbsoluteDateExtension.php#L22
Method getFilters always return list, but is marked as array<Twig\TwigFilter>
|
|
build (8.3, highest):
src/ThirdParty/Symfony/HttpKernel/Controller/ArgumentResolver/AbsoluteDateValueResolver.php#L19
Method resolve always return list, but is marked as iterable<AssoConnect\PHPDate\AbsoluteDate>
|
|
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.4, lowest)
Process completed with exit code 1.
|
|
build (8.4, lowest):
src/Validator/ConstraintsSetFactory/Field/DateTimeZoneProvider.php#L19
Method getConstraints always return list, but is marked as array<Symfony\Component\Validator\Constraint>
|
|
build (8.4, lowest):
src/Validator/ConstraintsSetFactory/Field/AbsoluteDateProvider.php#L19
Method getConstraints always return list, but is marked as array<Symfony\Component\Validator\Constraint>
|
|
build (8.4, lowest):
src/Twig/Extension/AbsoluteDateExtension.php#L22
Method getFilters always return list, but is marked as array<Twig\TwigFilter>
|
|
build (8.4, lowest):
src/Translatable/AbsoluteDateTranslatable.php#L72
Method AssoConnect\PHPDateBundle\Translatable\AbsoluteDateTranslatable::trans() should return string but returns string|true.
|
|
build (8.4, lowest):
src/Translatable/AbsoluteDateTranslatable.php#L60
Strict comparison using !== between string and false will always evaluate to true.
|
|
build (8.4, lowest):
src/ThirdParty/Symfony/HttpKernel/Controller/ArgumentResolver/AbsoluteDateValueResolver.php#L19
Method resolve always return list, but is marked as iterable<AssoConnect\PHPDate\AbsoluteDate>
|
|
build (8.4, highest)
Process completed with exit code 1.
|
|
build (8.4, highest):
src/Validator/ConstraintsSetFactory/Field/DateTimeZoneProvider.php#L19
Method getConstraints always return list, but is marked as array<Symfony\Component\Validator\Constraint>
|
|
build (8.4, highest):
src/Validator/ConstraintsSetFactory/Field/AbsoluteDateProvider.php#L19
Method getConstraints always return list, but is marked as array<Symfony\Component\Validator\Constraint>
|
|
build (8.4, highest):
src/Twig/Extension/AbsoluteDateExtension.php#L22
Method getFilters always return list, but is marked as array<Twig\TwigFilter>
|
|
build (8.4, highest):
src/ThirdParty/Symfony/HttpKernel/Controller/ArgumentResolver/AbsoluteDateValueResolver.php#L19
Method resolve always return list, but is marked as iterable<AssoConnect\PHPDate\AbsoluteDate>
|
|
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.3, lowest)
Process completed with exit code 1.
|
|
build (8.3, lowest):
src/Validator/ConstraintsSetFactory/Field/DateTimeZoneProvider.php#L19
Method getConstraints always return list, but is marked as array<Symfony\Component\Validator\Constraint>
|
|
build (8.3, lowest):
src/Validator/ConstraintsSetFactory/Field/AbsoluteDateProvider.php#L19
Method getConstraints always return list, but is marked as array<Symfony\Component\Validator\Constraint>
|
|
build (8.3, lowest):
src/Twig/Extension/AbsoluteDateExtension.php#L22
Method getFilters always return list, but is marked as array<Twig\TwigFilter>
|
|
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/ThirdParty/Symfony/HttpKernel/Controller/ArgumentResolver/AbsoluteDateValueResolver.php#L19
Method resolve always return list, but is marked as iterable<AssoConnect\PHPDate\AbsoluteDate>
|