You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: UPGRADE-4.3.md
+1-2Lines changed: 1 addition & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -148,8 +148,7 @@ Security
148
148
TwigBridge
149
149
==========
150
150
151
-
* Passing a `RequestStack` instance as the first argument to the `HttpFoundationExtension` constructor
152
-
is deprecated, pass a `Symfony\Component\HttpFoundation\UrlHelper` instance instead.
151
+
* The `$requestStack` and `$requestContext` arguments of the `HttpFoundationExtension` have been deprecated. Pass a `Symfony\Component\HttpFoundation\UrlHelper` instance as the only argument instead.
Copy file name to clipboardExpand all lines: UPGRADE-5.0.md
+1-3Lines changed: 1 addition & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -368,9 +368,7 @@ TwigBundle
368
368
TwigBridge
369
369
----------
370
370
371
-
* Passing a `RequestStack` instance as the first argument to the `HttpFoundationExtension` constructor
372
-
now throws a `\TypeError`, pass a `Symfony\Component\HttpFoundation\UrlHelper` instance instead.
373
-
* Removed the second constructor argument of `HttpFoundationExtension`.
371
+
* The `$requestStack` and `$requestContext` arguments of the `HttpFoundationExtension` have been removed. Pass a `Symfony\Component\HttpFoundation\UrlHelper` instance as the only argument instead.
Copy file name to clipboardExpand all lines: src/Symfony/Bridge/Twig/CHANGELOG.md
+1-2Lines changed: 1 addition & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -6,8 +6,7 @@ CHANGELOG
6
6
7
7
* added the `form_parent()` function that allows to reliably retrieve the parent form in Twig templates
8
8
* added the `workflow_transition_blockers()` function
9
-
* passing a `RequestStack` instance as the first argument to the `HttpFoundationExtension` constructor
10
-
is deprecated, pass a `Symfony\Component\HttpFoundation\UrlHelper` instance instead
9
+
* the `$requestStack` and `$requestContext` arguments of the `HttpFoundationExtension` have been deprecated, pass a `Symfony\Component\HttpFoundation\UrlHelper` instance as the only argument instead
0 commit comments