Mention autoescape=true deprecation (issue #2386)

This commit is contained in:
Stéphane Lavergne
2017-02-03 10:09:52 -05:00
committed by Fabien Potencier
parent a1c1f01eac
commit 70d03042df
+3
View File
@@ -206,6 +206,9 @@ Miscellaneous
``Twig_TemplateInterface::getEnvironment()`` are deprecated and will be
removed in 2.0.
* As of Twig 1.21, setting the environment option ``autoescape`` to ``true`` is
deprecated and will be removed in 2.0. Set ``"html"`` explicitly instead.
* As of Twig 1.27, ``Twig_Error::getTemplateFile()`` and
``Twig_Error::setTemplateFile()`` are deprecated. Use
``Twig_Error::getTemplateName()`` and ``Twig_Error::setTemplateName()``