Skip to content

Commit

Permalink
-
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed May 1, 2024
1 parent e4a7853 commit ead768a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG
Original file line number Diff line number Diff line change
@@ -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()``,
Expand Down
2 changes: 1 addition & 1 deletion doc/deprecated.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ead768a

Please sign in to comment.