Commit 5347173
committed
bug #1270 [make:authenticator] Core\Security or SecurityBundle\Security - Avoid deprecations in 6.2 (nacorp)
This PR was squashed before being merged into the 1.0-dev branch.
Discussion
----------
[make:authenticator] Core\Security or SecurityBundle\Security - Avoid deprecations in 6.2
When using make:authenticator on a Symfony 6.2 project the generated code is deprecated.
In the generated code, `use Symfony\Component\Security\Core\Security;` should be replace by `use Symfony\Bundle\SecurityBundle\Security;`.
However, in order to respect the compatibility with 5.4 I used a workaround.
Commits
-------
f39d15d [make:authenticator] Core\Security or SecurityBundle\Security - Avoid deprecations in 6.21 file changed
+9
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| |||
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
45 | | - | |
| 46 | + | |
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
| |||
273 | 274 | | |
274 | 275 | | |
275 | 276 | | |
276 | | - | |
277 | 277 | | |
278 | 278 | | |
279 | 279 | | |
280 | 280 | | |
281 | 281 | | |
282 | 282 | | |
283 | 283 | | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
284 | 291 | | |
285 | 292 | | |
286 | 293 | | |
| |||
0 commit comments