Closed plozmun closed 4 years ago
Method loadTemplate was deprecated in Twig 1.28 only for internal use, see this https://twig.symfony.com/doc/1.x/api.html#rendering-templates and https://twig.symfony.com/doc/1.x/tags/include.html With Twig 3.0 this method fail:
Too few arguments to function Twig\Environment::loadTemplate(), 1 passed in /var/www/html/vendor/sulu/article-bundle/Controller/WebsiteArticleController.php on line 162 and at least 2 expected
No BC Breaks. This bundle requires ^1.41
ping @danrot @alexander-schranz
@plozmun bugfixes should target the lowest version where it appears, can you rebase to release/2.0 branch.
release/2.0
Done!
@plozmun thank you for your contribution!
What's in this PR?
Method loadTemplate was deprecated in Twig 1.28 only for internal use, see this https://twig.symfony.com/doc/1.x/api.html#rendering-templates and https://twig.symfony.com/doc/1.x/tags/include.html With Twig 3.0 this method fail:
BC Breaks/Deprecations
No BC Breaks. This bundle requires ^1.41