Skip to content

The "ApiPlatform\Serializer\AbstractCollectionNormalizer" class implements "Symfony\Component\Serializer\Normalizer\CacheableSupportsMethodInterface" that is deprecated since Symfony 6.3, implement "getSupportedTypes(?string $format)" instead. #5702

@shakaran

Description

@shakaran

API Platform version(s) affected: 3.1

Description

The "ApiPlatform\Serializer\AbstractCollectionNormalizer" class implements "Symfony\Component\Serializer\Normalizer\CacheableSupportsMethodInterface" that is deprecated since Symfony 6.3, implement "getSupportedTypes(?string $format)" instead.

How to reproduce
Using Symfony 6.3 with last version of this bundle

Possible Solution
Remove CacheableSupportsMethodInterface from AbstractCollectionNormalizer and use getSupportedTypes

Additional Context
Other warnings from other classes similar too

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions