Remove versionadded from docs

This commit is contained in:
Fabien Potencier
2024-08-08 14:47:37 +02:00
parent eafbee52e3
commit fbc1032fd0
4 changed files with 0 additions and 16 deletions
-4
View File
@@ -285,10 +285,6 @@ deprecated one when that makes sense::
// ...
}, ['deprecated' => true, 'alternative' => 'new_one']);
.. versionadded:: 3.11
The ``deprecating_package`` option was added in Twig 3.11.
You can also set the ``deprecating_package`` option to specify the package that
is deprecating the filter, and ``deprecated`` can be set to the package version
when the filter was deprecated::
-4
View File
@@ -1,10 +1,6 @@
``find``
========
.. versionadded:: 3.11
The ``find`` filter was added in Twig 3.11.
The ``find`` filter returns the first element of a sequence matching an arrow
function. The arrow function receives the value of the sequence:
-4
View File
@@ -1,10 +1,6 @@
``shuffle``
===========
.. versionadded:: 3.11
The ``shuffle`` filter was added in Twig 3.11.
The ``shuffle`` filter shuffles a sequence, a mapping, or a string:
.. code-block:: twig
-4
View File
@@ -23,10 +23,6 @@ You can also deprecate a macro in the following way:
Note that by default, the deprecation notices are silenced and never displayed nor logged.
See :ref:`deprecation-notices` to learn how to handle them.
.. versionadded:: 3.11
The ``package`` and ``version`` options were added in Twig 3.11.
You can optionally add the package and the version that introduced the deprecation:
.. code-block:: twig