Closed ytake closed 7 years ago
Just one thing I have noticed after testing this out quickly.
If you have an include that uses a variable, the output will be incorrect.
e.g. if you have this in a template...
{include file="Directory/Views/desktop/partials/filters/$filter.tpl"}
The output in Debugbar becomes...
Directory.Views.desktop.partials.filters.".((string)$_smarty_tpl->tpl_vars['filter']->value)."
solved!
Great stuff!
I'll give it a test tomorrow when I'm back in the office.
Just tested this locally. Looks good to go!
Coverage increased (+1.3%) to 100.0% when pulling 9ef35bfe5b2eebcdbf9b120a120090608e725f7b on feature-issue44 into 4dd647b6287ef67e72742c3c7d4432463cd88171 on master.