Avoid deprecations triggered by twig 3.12 while keeping backward compatibility
Here's the deprecations it fixes:
Since twig/twig 3.12: Getting node "filter" on a "Twig\Node\Expression\FilterExpression" class is deprecated.
Since twig/twig 3.12: Getting node "filter" on a "Twig\Node\Expression\Filter\RawFilter" class is deprecated.
Description
Avoid deprecations triggered by twig 3.12 while keeping backward compatibility
Here's the deprecations it fixes: