Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken with symfony 7.1 #6411

Closed
faizanakram99 opened this issue Jun 4, 2024 · 2 comments
Closed

Broken with symfony 7.1 #6411

faizanakram99 opened this issue Jun 4, 2024 · 2 comments

Comments

@faizanakram99
Copy link

faizanakram99 commented Jun 4, 2024

API Platform version(s) affected: x.y.z

Description
With symfony 7.1 I get this error when i try lint:container command

Invalid alias definition: alias "ApiPlatform\Serializer\SerializerContextBuilderInterface" is referencing class "ApiPlatform\OpenApi\Serializer\SerializerContextBuilder" but this class does not implement "ApiPlatform\Serializer\SerializerContextBuilderInterface". Because this alias is an interface, "ApiPlatform\OpenApi\Serializer\SerializerContextBuilder" must implement "ApiPlatform\Serializer\SerializerContextBuilderInterface".

How to reproduce
Upgrade to symfony 7.1

Possible Solution
"ApiPlatform\OpenApi\Serializer\SerializerContextBuilder" should implement "ApiPlatform\Serializer\SerializerContextBuilderInterface"

Additional Context

@faizanakram99
Copy link
Author

faizanakram99 commented Jun 4, 2024

Caused by #6390

@soyuka
Copy link
Member

soyuka commented Jun 6, 2024

98e9cac fixes that

@soyuka soyuka closed this as completed Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants