mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-23 08:38:45 +00:00
removed versionadded tags in docs
This commit is contained in:
@@ -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::
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user