Lines Matching refs:deprecated

4 This document lists all deprecated features in Twig. Deprecated features are
6 feature that was deprecated in Twig 1.x is removed in Twig 2.0).
12 deprecated features. See :ref:`deprecation-notices` for more information.
24 * As of Twig 1.x, the token parser broker sub-system is deprecated. The
30 * As of Twig 1.27, ``\Twig\Parser::getFilename()`` is deprecated. From a token
33 * As of Twig 1.27, ``\Twig\Parser::getEnvironment()`` is deprecated.
38 * As of Twig 1.x, the ability to remove an extension is deprecated and the
42 deprecated. You have two options to avoid the deprecation notice: if you
49 deprecated. Implement ``\Twig\Extension\GlobalsInterface`` to avoid
53 deprecated and it is not used internally anymore.
74 * As of Twig 2.x, the ``\Twig\TwigFilter`` class is deprecated and will be
91 * As of Twig 2.x, the ``\Twig\TwigFunction`` class is deprecated and will be
108 * As of Twig 2.x, the ``\Twig\TwigTest`` class is deprecated and will be
112 * The ``sameas`` and ``divisibleby`` tests are deprecated in favor of ``same
118 * As of Twig 1.x, the ``raw`` tag is deprecated. You should use ``verbatim``
124 * As of Twig 1.x, ``Node::toXml()`` is deprecated and will be removed in Twig
128 instances, storing a ``null`` value is deprecated and won't be possible in
132 deprecated. Use ``getName()`` instead.
135 methods are deprecated, use
141 * As of Twig 2.x, the following interfaces are deprecated and empty (they will
157 * As of Twig 1.26, the ``\Twig\Compiler::getFilename()`` has been deprecated.
160 * As of Twig 1.27, the ``\Twig\Compiler::addIndentation()`` has been deprecated.
166 * As of Twig 1.x, ``Twig_Loader_String`` is deprecated and will be removed in
169 * As of Twig 1.27, ``\Twig\Loader\LoaderInterface::getSource()`` is deprecated.
188 current ``\Twig\Template`` instance is deprecated; most usages only need the
203 ``\Twig\Environment::getCompiler()`` are deprecated and will be removed in 2.0.
206 ``Twig_TemplateInterface::getEnvironment()`` are deprecated and will be
210 deprecated and will be removed in 2.0. Use ``"html"`` instead.
213 ``\Twig\Error\Error::setTemplateFile()`` are deprecated. Use
217 * As of Twig 1.27, ``\Twig\Template::getSource()`` is deprecated. Use
221 ``\Twig\Parser::addNodeVisitor()`` are deprecated and will be removed in 2.0.