8000 Minor clean up in UPGRADE files · symfony/symfony@3a2eb0d · GitHub
[go: up one dir, main page]

Skip to content

Commit 3a2eb0d

Browse files
Minor clean up in UPGRADE files
1 parent 143628f commit 3a2eb0d

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

UPGRADE-4.2.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Security
55
--------
66

77
* Using the `has_role()` function in security expressions is deprecated, use the `is_granted()` function instead.
8-
* Not returning an array of 3 elements from `FirewallMapInterface::getListeners()` is deprecated, the 3rd element
8+
* Not returning an array of 3 elements from `FirewallMapInterface::getListeners()` is deprecated, the 3rd element
99
must be an instance of `LogoutListener` or `null`.
1010
* Passing custom class names to the
1111
`Symfony\Component\Security\Core\Authentication\AuthenticationTrustResolver` to define
@@ -16,9 +16,9 @@ Security
1616
SecurityBundle
1717
--------------
1818

19-
* Passing a `FirewallConfig` instance as 3rd argument to the `FirewallContext` constructor is deprecated,
19+
* Passing a `FirewallConfig` instance as 3rd argument to the `FirewallContext` constructor is deprecated,
2020
pass a `LogoutListener` instance instead.
21-
* Using the `security.authentication.trust_resolver.anonymous_class` and
21+
* Using the `security.authentication.trust_resolver.anonymous_class` and
2222
`security.authentication.trust_resolver.rememberme_class` parameters to define
2323
the token classes is deprecated. To use
2424
custom tokens extend the existing AnonymousToken and RememberMeToken.

UPGRADE-5.0.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,10 @@ SecurityBundle
8888
* The `logout_on_user_change` firewall option has been removed.
8989
* The `switch_user.stateless` firewall option has been removed.
9090
* The `SecurityUserValueResolver` class has been removed.
91-
* Passing a `FirewallConfig` instance as 3rd argument to the `FirewallContext` constructor
91+
* Passing a `FirewallConfig` instance as 3rd argument to the `FirewallContext` constructor
9292
now throws a `\TypeError`, pass a `LogoutListener` instance instead.
93-
* The `security.authentication.trust_resolver.anonymous_class` parameter has been removed.
94-
* The `security.authentication.trust_resolver.rememberme_class` parameter has been removed.
93+
* The `security.authentication.trust_resolver.anonymous_class` parameter has been removed.
94+
* The `security.authentication.trust_resolver.rememberme_class` parameter has been removed.
9595

9696
Translation
9797
-----------

0 commit comments

Comments
 (0)
0