mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-14 19:36:43 +00:00
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:
@@ -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()``
|
||||
|
||||
Reference in New Issue
Block a user