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 number of people this affects is probably incredibly small but there was a BC break for some classes in 3.19. For me this triggers in \Twig\Node\Expression\Test\DefinedTest
The commit in question that caused this is: b6d9dd6
By switching to ContextVariable, if NameExpression is passed by an extension then it triggers a Syntax Exception.
This might not be a bug that needs to be fixed if that's the expected behavior going forward but it might be useful to document as a Change for extension developers.
The text was updated successfully, but these errors were encountered:
The number of people this affects is probably incredibly small but there was a BC break for some classes in 3.19. For me this triggers in
\Twig\Node\Expression\Test\DefinedTest
The commit in question that caused this is: b6d9dd6
By switching to
ContextVariable
, ifNameExpression
is passed by an extension then it triggers a Syntax Exception.This might not be a bug that needs to be fixed if that's the expected behavior going forward but it might be useful to document as a Change for extension developers.
The text was updated successfully, but these errors were encountered: