Open neilime opened 7 years ago
Experiencing the same issue. This is basically a show stopper for me to use this linter.
>> 10 {% if count > 0 and not type is same as('total') %}
>> Unexpected token "name" of value "as" ("end of statement block" expected)
Is this still an issue on the most recent version?
@asm89 Yes I can confirm this is still an issue on version 1.0.3
.
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.