Commit c32d97d
committed
minor #16379 [Security] Add deprecation information for is_anonymous (malteschlueter)
This PR was merged into the 5.4 branch.
Discussion
----------
[Security] Add deprecation information for is_anonymous
Don't know in which issue or pr this happend but I found in the UPGRADE-5.4.md that the `is_anonymous()` function is deprecated. Instead the `is_authenticated()` function should be used.
https://github.com/symfony/symfony/blob/5.4/UPGRADE-5.4.md#security
> Deprecate AuthenticationTrustResolverInterface::isAnonymous() and the is_anonymous() expression function as anonymous no longer exists in version 6, use the isFullFledged() or the new isAuthenticated() instead if you want to check if the request is (fully) authenticated
How do we handle the upmerge? The deprecation information must be removed in 6.0 and the general information about the function in line 67-70. Should I create a follow up PR?
Commits
-------
12fcb6a [Security] Add deprecation information for is_anonymous1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
81 | 86 | | |
82 | 87 | | |
83 | 88 | | |
| |||
0 commit comments