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
minor #13594 Adding an if condition on a for tag is deprecated in Twig 2.10. (BooleanType)
This PR was submitted for the 5.0 branch but it was merged into the 4.4 branch instead.
Discussion
----------
Adding an if condition on a for tag is deprecated in Twig 2.10.
I've got an error, running example from the docs. Here is the explanation: https://twig.symfony.com/doc/2.x/deprecated.html#tags
I propose to use a filter filter or an “if” condition inside the “for” body instead in this docs.
<!--
If your pull request fixes a BUG, use the oldest maintained branch that contains
the bug (see https://symfony.com/roadmap for the list of maintained branches).
If your pull request documents a NEW FEATURE, use the same Symfony branch where
the feature was introduced (and `master` for features of unreleased versions).
-->
Commits
-------
ae6ae33 Adding an if condition on a for tag is deprecated in Twig 2.10.
0 commit comments