Skip to content

Commit a9fee2f

Browse files
committed
minor #12737 Mention twig/extensions is not for Twig 3 (kylekatarnls)
This PR was submitted for the 5.0 branch but it was merged into the 4.3 branch instead (closes #12737). Discussion ---------- Mention twig/extensions is not for Twig 3 As twig/extensions is obsolete according to: twigphp/Twig-extensions#258 And not compatible with Twig 3, let prevent developers for running a dead end command. Commits ------- 3938b0a Mention twig/extensions is not for Twig 3
2 parents f31786a + 3938b0a commit a9fee2f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

templating/twig_extension.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ Before writing your own Twig extension, check if the filter/function that you
1111
need is already implemented in the `default Twig filters and functions`_ or the
1212
:doc:`Twig filters and functions added by Symfony </reference/twig_reference>`.
1313
Check also the `official Twig extensions`_, which add commonly needed filters
14-
and functions and can be installed in your application as follows:
14+
and functions and can be installed in your application as follows (only needed
15+
if you're using Twig 1 or 2):
1516

1617
.. code-block:: terminal
1718

0 commit comments

Comments
 (0)