Skip to content

Commit

Permalink
minor #3001 Correct Twig_SimpleFilter, Twig_SimpleFunction, Twig_Simp…
Browse files Browse the repository at this point in the history
…leTest deprecation doc (blankse)

This PR was merged into the 1.x branch.

Discussion
----------

Correct Twig_SimpleFilter, Twig_SimpleFunction, Twig_SimpleTest deprecation doc

Reverts 3632a46 for deprecated.rst

Commits
-------

6504748 Correct Twig_SimpleFilter/Twig_SimpleFunction/Twig_SimpleTest deprecation doc (Revert: moved to namespaced classes by default)
  • Loading branch information
fabpot committed May 14, 2019
2 parents 44f02b2 + 6504748 commit a77e7f8
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions doc/deprecated.rst
Expand Up @@ -71,9 +71,9 @@ Filters
* ``Twig_Filter_Method``
* ``Twig_Filter_Node``

* As of Twig 2.x, the ``\Twig\TwigFilter`` class is deprecated and will be
removed in Twig 3.x (use ``Twig_Filter`` instead). In Twig 2.x,
``\Twig\TwigFilter`` is just an alias for ``Twig_Filter``.
* As of Twig 2.x, the ``Twig_SimpleFilter`` class is deprecated and will be
removed in Twig 3.x (use ``\Twig\TwigFilter`` instead). In Twig 2.x,
``Twig_SimpleFilter`` is just an alias for ``\Twig\TwigFilter``.

Functions
---------
Expand All @@ -88,9 +88,9 @@ Functions
* ``Twig_Function_Method``
* ``Twig_Function_Node``

* As of Twig 2.x, the ``\Twig\TwigFunction`` class is deprecated and will be
removed in Twig 3.x (use ``Twig_Function`` instead). In Twig 2.x,
``\Twig\TwigFunction`` is just an alias for ``Twig_Function``.
* As of Twig 2.x, the ``Twig_SimpleFunction`` class is deprecated and will be
removed in Twig 3.x (use ``\Twig\TwigFunction`` instead). In Twig 2.x,
``Twig_SimpleFunction`` is just an alias for ``\Twig\TwigFunction``.

Tests
-----
Expand All @@ -105,9 +105,9 @@ Tests
* ``Twig_Test_Method``
* ``Twig_Test_Node``

* As of Twig 2.x, the ``\Twig\TwigTest`` class is deprecated and will be
removed in Twig 3.x (use ``Twig_Test`` instead). In Twig 2.x,
``\Twig\TwigTest`` is just an alias for ``Twig_Test``.
* As of Twig 2.x, the ``Twig_SimpleTest`` class is deprecated and will be
removed in Twig 3.x (use ``\Twig\TwigTest`` instead). In Twig 2.x,
``Twig_SimpleTest`` is just an alias for ``\Twig\TwigTest``.

* The ``sameas`` and ``divisibleby`` tests are deprecated in favor of ``same
as`` and ``divisible by`` respectively.
Expand Down

0 comments on commit a77e7f8

Please sign in to comment.