Originally posted by **herndlm** June 3, 2024
Hi,
not sure yet if this is issue is coming from our app, Symfony or API Platform. I just upgraded from Symfony 7.0 without deprecations to Symfony 7.1. Tests, static analysis and functionality of the app seems fine, but `bin/console lint:container` fails with the following
```
In CheckAliasValidityPass.php line 44:
Invalid alias definition: alias "ApiPlatform\Serializer\SerializerContextBuilderInterface" is referencing class "ApiPlatform\OpenApi\Serializer\SerializerContextBuilder" but this class does not implement "ApiPlatform\Seria
lizer\SerializerContextBuilderInterface". Because this alias is an interface, "ApiPlatform\OpenApi\Serializer\SerializerContextBuilder" must implement "ApiPlatform\Serializer\SerializerContextBuilderInterface".
```
Any ideas what the issue might be here?
Discussed in https://github.com/api-platform/core/discussions/6406