You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In #4@skyosev proposed a 'strict_variables' option (similar to Twig one) that would be useful in development context.
My first thoughts is to add it and support 3 values:
true -> thrown an Exception when a required var is not defined
false -> resolve undefined vars as empty strings (current and default behavior)
"notice" -> thrown a notice when a required var is not defined and resolve to empty string. This way it can be ignored using proper error_reporting setting.
The text was updated successfully, but these errors were encountered:
In #4 @skyosev proposed a 'strict_variables' option (similar to Twig one) that would be useful in development context.
My first thoughts is to add it and support 3 values:
true
-> thrown an Exception when a required var is not definedfalse
-> resolve undefined vars as empty strings (current and default behavior)"notice"
-> thrown a notice when a required var is not defined and resolve to empty string. This way it can be ignored using propererror_reporting
setting.The text was updated successfully, but these errors were encountered: