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

Enable annotation support for tests to be completed successfully on symfony7 #645

Closed
wants to merge 1 commit into from

Conversation

maximium
Copy link

@maximium maximium commented Feb 5, 2025

Hello. The annotation_reader service was not created with current test app configuration in symfony7, so tests related to QueryCounter failed. I enable annotation support in framework config.

@alexislefebvre
Copy link
Collaborator

This results in an error:

Symfony\Component\Config\Definition\Exception\InvalidConfigurationException: Invalid configuration for path "framework.annotations": Enabling the doctrine/annotations integration is not supported anymore.

@alexislefebvre
Copy link
Collaborator

Tests didn't fail in another PR:

What problem did you encounter?

@maximium
Copy link
Author

maximium commented Feb 7, 2025

Sorry, my bad. I have a symfony5 in my composer.lock because I started testing on php74 and overlooked it. Probably the dependency versions are out of date with the current codebase.

@maximium maximium closed this Feb 11, 2025
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 this pull request may close these issues.

2 participants