- Issue created by @Grimreaper
- 🇫🇷France pdureau Paris
it may be an sdc_devel error
it is normal for
{% set header_length = header|length ? header : 0 %}
to be converted into{% set header_length = header ?: 0 %}
by Twig when loading as an AST and analysed by sdc_develBut i don't understand why it is the case for
{% set header_length = header ? header|length : 0 %}
- 🇫🇷France pdureau Paris
Grimreaper, I don't reproduce in local. Do you? if yes, what is your setup? How different it si from drupal.org CI?
- 🇫🇷France Grimreaper France 🇫🇷
The problem occurred on Twig 3.16.0, but no more on Twig 3.19.0