minor #2388 Mention autoescape=true deprecation (issue #2386) (vphantom)

This PR was squashed before being merged into the 1.x branch (closes #2388).

Discussion
----------

Mention autoescape=true deprecation (issue #2386)

Per #2386, mention the deprecation of true in favor of an explicit "html".

Commits
-------

70d03042 Mention autoescape=true deprecation (issue #2386)
This commit is contained in:
Fabien Potencier
2017-02-03 13:29:56 -08:00
+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()``