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
bug symfony#58649 [TwigBridge] ensure compatibility with Twig 3.15 (xabbuh)
This PR was merged into the 5.4 branch.
Discussion
----------
[TwigBridge] ensure compatibility with Twig 3.15
| Q | A
| ------------- | ---
| Branch? | 5.4
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Issues |
| License | MIT
take the changes from twigphp/Twig#4398 into account
Commits
-------
cf11e01 ensure compatibility with Twig 3.15
if (!$varinstanceof AssignNameExpression && !$varinstanceof LocalVariable) {
35
+
thrownew \TypeError(sprintf('Expected an instance of "%s" or "%s", but got "%s".', AssignNameExpression::class, LocalVariable::class, get_debug_type($var)));
36
+
}
37
+
30
38
if (class_exists(FirstClassTwigCallableReady::class)) {
0 commit comments