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

Renaming a Twig template breaks its usages #2383

Open
stof opened this issue May 31, 2024 · 0 comments
Open

Renaming a Twig template breaks its usages #2383

stof opened this issue May 31, 2024 · 0 comments

Comments

@stof
Copy link
Contributor

stof commented May 31, 2024

Renaming a Twig template correctly identifies its usages in ->render() calls as places that are impacted by the renaming.
However, the renaming replacing the whole string containing a template name with the new filename of the template. Instead, the parts of the template name corresponding to the namespace and subfolders should be preserved, replacing only the filename after the last /

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

No branches or pull requests

1 participant