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 #10025 Add missing RuntimeExtensionInterface (tjamps, javiereguiluz)
This PR was submitted for the 4.1 branch but it was merged into the 3.4 branch instead (closes#10025).
Discussion
----------
Add missing RuntimeExtensionInterface
If the Twig runtime class does not implement RuntimeExtensionInterface, the autoconfigure feature of the container will not tag it with `twig.runtime`, and an exception will be thrown ("Unable to load the "App\Twig\AppRuntime" runtime.")
<!--
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
-------
4e9b044 Added the missing versionadded directive
cb102c1 Remove duplicate `use` keyword
0e8d863 Add missing RuntimeExtensionInterface
0 commit comments