[Serializer] Add NumberNormalizer
#36116
psalm.yml
on: pull_request
Psalm
3m 36s
Oh hello! Nice to see you.
Made with ❤️ by humans.txt
Annotations
7 errors
LessSpecificImplementedReturnType:
src/Symfony/Component/Serializer/Normalizer/NumberNormalizer.php#L23
src/Symfony/Component/Serializer/Normalizer/NumberNormalizer.php:23:57: LessSpecificImplementedReturnType: The inherited return type 'array<string, bool|null>' for Symfony\Component\Serializer\Normalizer\NormalizerInterface::getSupportedTypes is more specific than the implemented return type for Symfony\Component\Serializer\Normalizer\NumberNormalizer::getsupportedtypes 'array<array-key, mixed>' (see https://psalm.dev/166)
|
LessSpecificImplementedReturnType:
src/Symfony/Component/Serializer/Normalizer/NumberNormalizer.php#L23
src/Symfony/Component/Serializer/Normalizer/NumberNormalizer.php:23:57: LessSpecificImplementedReturnType: The inherited return type 'array<string, bool|null>' for Symfony\Component\Serializer\Normalizer\DenormalizerInterface::getSupportedTypes is more specific than the implemented return type for Symfony\Component\Serializer\Normalizer\NumberNormalizer::getsupportedtypes 'array<array-key, mixed>' (see https://psalm.dev/166)
|
InvalidCast:
src/Symfony/Component/Serializer/Normalizer/NumberNormalizer.php#L37
src/Symfony/Component/Serializer/Normalizer/NumberNormalizer.php:37:25: InvalidCast: GMP cannot be cast to string (see https://psalm.dev/103)
|
LessSpecificImplementedReturnType:
src/Symfony/Component/Serializer/Normalizer/NumberNormalizer.php#L23
src/Symfony/Component/Serializer/Normalizer/NumberNormalizer.php:23:57: LessSpecificImplementedReturnType: The inherited return type 'array<string, bool|null>' for Symfony\Component\Serializer\Normalizer\NormalizerInterface::getSupportedTypes is more specific than the implemented return type for Symfony\Component\Serializer\Normalizer\NumberNormalizer::getsupportedtypes 'array<array-key, mixed>' (see https://psalm.dev/166)
|
LessSpecificImplementedReturnType:
src/Symfony/Component/Serializer/Normalizer/NumberNormalizer.php#L23
src/Symfony/Component/Serializer/Normalizer/NumberNormalizer.php:23:57: LessSpecificImplementedReturnType: The inherited return type 'array<string, bool|null>' for Symfony\Component\Serializer\Normalizer\DenormalizerInterface::getSupportedTypes is more specific than the implemented return type for Symfony\Component\Serializer\Normalizer\NumberNormalizer::getsupportedtypes 'array<array-key, mixed>' (see https://psalm.dev/166)
|
InvalidCast:
src/Symfony/Component/Serializer/Normalizer/NumberNormalizer.php#L37
src/Symfony/Component/Serializer/Normalizer/NumberNormalizer.php:37:25: InvalidCast: GMP cannot be cast to string (see https://psalm.dev/103)
|
Psalm
Process completed with exit code 2.
|