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 /
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/