removed versionadded tags in docs

This commit is contained in:
Fabien Potencier
2015-09-06 08:49:46 +02:00
parent 05340fe52c
commit 12fb6f88a1
2 changed files with 0 additions and 9 deletions
-6
View File
@@ -220,9 +220,6 @@ through your filter::
Variadic Filters
~~~~~~~~~~~~~~~~
.. versionadded:: 1.19
Support for variadic filters was added in Twig 1.19.
When a filter should accept an arbitrary number of arguments, set the
``is_variadic`` option to ``true``; Twig will pass the extra arguments as the
last argument to the filter call as an array::
@@ -263,9 +260,6 @@ the filter: ``('a', 'b', 'foo')``.
Deprecated Filters
~~~~~~~~~~~~~~~~~~
.. versionadded:: 1.21
Support for deprecated filters was added in Twig 1.21.
You can mark a filter as being deprecated by setting the ``deprecated`` option
to ``true``. You can also give an alternative filter that replaces the
deprecated one when that makes sense::
-3
View File
@@ -6,9 +6,6 @@ Recipes
Displaying Deprecation Notices
------------------------------
.. versionadded:: 1.21
This works as of Twig 1.21.
Deprecated features generate deprecation notices (via a call to the
``trigger_error()`` PHP function). By default, they are silenced and never
displayed nor logged.