- Issue created by @Liam Morland
- 🇫🇷France pdureau Paris
Hi Liam,
Thanks for your feedback. Let's discuss about this in the more generic issue: 📌 Adopt a more liberal approach for TwigValidatorRuleTestExpr Active
This condition:
{% if variable is not empty %}
raised the warning "The exact same as just testing the variable, empty is not needed."
But if I switched it to:
{% if variable %}
then the condition would fail if variable
was zero.
Correct or remove the warning.
Implement.
None.
None.
None.
Active
1.0
Code
Hi Liam,
Thanks for your feedback. Let's discuss about this in the more generic issue: 📌 Adopt a more liberal approach for TwigValidatorRuleTestExpr Active