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 template source from Template::loadTemplate() #4583

Open
wants to merge 1 commit into
base: 3.x
Choose a base branch
from

Conversation

fabpot
Copy link
Contributor

@fabpot fabpot commented Feb 14, 2025

Closes #3266

The first commit supports string and Source. But I think we don't even need to pass anything (that's the other commits).

@stof
Copy link
Member

stof commented Feb 14, 2025

The test does not ensure the issue is solved as it asserts only the exception message, not the exception location.

@fabpot
Copy link
Contributor Author

fabpot commented Feb 14, 2025

The test does not ensure the issue is solved as it asserts only the exception message, not the exception location.

Yes, I know, I will update it.

@fabpot
Copy link
Contributor Author

fabpot commented Feb 21, 2025

@stof Should be good now.

@fabpot fabpot force-pushed the loadTemplate-source branch from e20b4bb to 8100661 Compare February 21, 2025 15:44
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.

Errors thrown for an invalid parent don't report their file and line as the Twig template
4 participants