Add support for shorttags in functions#1142
Conversation
|
Forgot to run the unittests, will look into it. |
|
Added an extra interface I'm not quite satisfied with the unset($_attr['nocache']); in the functioncallcompiler class. It almost seems this is only added to make the unittests complete for the assign function within smarty. Gonna take a closer look at this. Edit: took a closer look and now i'm satisfied. (e.g. fixing this would take me too much time). |
src/Compile/FunctionCallCompiler.php
Outdated
| * | ||
| * @var array | ||
| */ | ||
| protected $required_attributes = []; |
There was a problem hiding this comment.
this does not change $required_attributes in Base.
This fixes #1005