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

remove not needed code #4603

Merged
merged 3 commits into from
Feb 28, 2025
Merged

remove not needed code #4603

merged 3 commits into from
Feb 28, 2025

Conversation

xabbuh
Copy link
Contributor

@xabbuh xabbuh commented Feb 27, 2025

No description provided.

@xabbuh
Copy link
Contributor Author

xabbuh commented Feb 27, 2025

I looked at the errors reported by PHPStan. But I am not sure if the code really should be simplified like this or if adding the break in #4599 wasn't a mistake instead.

@fabpot
Copy link
Contributor

fabpot commented Feb 28, 2025

I've just added some more tests to this PR to ensure error reporting works well for embed.

@fabpot
Copy link
Contributor

fabpot commented Feb 28, 2025

Thank you @xabbuh.

@fabpot fabpot merged commit 1fee48e into twigphp:3.x Feb 28, 2025
41 checks passed
@xabbuh xabbuh deleted the pr-4599 branch February 28, 2025 09:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants