This commit is contained in:
Fabien Potencier
2024-05-01 09:11:02 +02:00
parent e4a78534ff
commit ead768a495
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -1,6 +1,7 @@
# 3.10.0 (2024-XX-XX)
* Extract the escaping logic from the `EscapingExtension` class to a new `EscapingRuntime` class.
* Extract the escaping logic from the `EscapingExtension` class to a new
`EscapingRuntime` class.
The following methods from ``Twig\\Extension\\EscaperExtension`` are
deprecated: ``setEscaper()``, ``getEscapers()``, ``setDefaultStrategy()``,
+1 -1
View File
@@ -18,7 +18,7 @@ Extensions
3.9.0, and will be removed in Twig 4.0. They have been replaced by internal
methods on their respective extension classes.
If you were using the ``twig_escape_filter()`` function is your code, use
If you were using the ``twig_escape_filter()`` function in your code, use
``$env->getRuntime(EscaperRuntime::class)->escape()`` instead.
* The following methods from ``Twig\Extension\EscaperExtension`` are