From 12fb6f88a1c4022dbae0f007ff0b96e4e4df0809 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Sun, 6 Sep 2015 08:49:46 +0200 Subject: [PATCH] removed versionadded tags in docs --- doc/advanced.rst | 6 ------ doc/recipes.rst | 3 --- 2 files changed, 9 deletions(-) diff --git a/doc/advanced.rst b/doc/advanced.rst index 45a08b289..18cf51f14 100644 --- a/doc/advanced.rst +++ b/doc/advanced.rst @@ -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:: diff --git a/doc/recipes.rst b/doc/recipes.rst index ff93a6011..2d24b8507 100644 --- a/doc/recipes.rst +++ b/doc/recipes.rst @@ -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.