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 Deprecation Helper in Tests #701

Draft
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

0x46616c6b
Copy link
Member

@0x46616c6b 0x46616c6b commented Dec 18, 2024

PHPUnit should now fail if we have deprecations in our code base.

@0x46616c6b 0x46616c6b force-pushed the Enable-Deprecation-Helper-in-Tests branch from 12b1351 to 3bbba31 Compare December 18, 2024 17:59
@0x46616c6b 0x46616c6b marked this pull request as draft December 18, 2024 20:13
@t2d t2d force-pushed the Enable-Deprecation-Helper-in-Tests branch from a94aaaa to 9152d1e Compare December 21, 2024 16:32
@t2d
Copy link
Contributor

t2d commented Dec 21, 2024

I couldn't silence the deprecation notice for tests of legacy code. We might have to update phpunit to 10+ first

@0x46616c6b
Copy link
Member Author

The problem is that we use deprecated service configurations for sonata admin bundle. Our controllers in the service configurations must use the tags instead of arguments.

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