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
The current implementation of the lint:twig command in symfony/twig-bridge turns deprecations into an Error that is caught. The effect of this is that only the first deprecation of a template is reported (as this ends parsing).
The \Twig\Util\DeprecationCollector is implemented in a different way where the error handler collects deprecations in an array instead, so that it collects all deprecations.
Collecting all deprecations instead of only the first one for each templates is better, as it allows to fix them all at once.