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
{% iffoo.attributeissame as(false) %}
the foo attribute really is the 'false' PHP value
{% endif %}
Error :
>> 1 {% if foo.attribute is same as(false) %}
>> Unexpected token "name" of value "as" ("end of statement block" expected).
2 the foo attribute really is the 'false' PHP value
3 {% endif %}
Hi,
here is an unexpected lint error :
Error :
However it works with the test "sameas".
(Twig doc : http://twig.sensiolabs.org/doc/2.x/tests/sameas.html)
Thanks for your help.
The text was updated successfully, but these errors were encountered: