Skip to content

[Validator] use deprecation catching error handler only when parsing Twig templates #60303

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

Merged
merged 1 commit into from
May 2, 2025

Conversation

xabbuh
Copy link
Member

@xabbuh xabbuh commented Apr 30, 2025

Q A
Branch? 7.3
Bug fix? no
New feature? no
Deprecations? no
Issues
License MIT

IMO an error handler catching deprecations should not step in when other code not related to the Twig templates triggers deprecations. I'd argue that we should check our lint commands as well instead.

@fabpot
Copy link
Member

fabpot commented May 2, 2025

Thank you @xabbuh.

@fabpot fabpot merged commit d9d3d6a into symfony:7.3 May 2, 2025
10 of 11 checks passed
@xabbuh xabbuh deleted the pr-58805 branch May 2, 2025 08:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants