Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[Security] Readd deprecated methods to the interfaces#41493
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
This updates the makers forsymfony/symfony#41493
b462bc3 toc23455eCompareUh oh!
There was an error while loading.Please reload this page.
c23455e tof1285f4CompareUh oh!
There was an error while loading.Please reload this page.
f1285f4 tob024656CompareUh oh!
There was an error while loading.Please reload this page.
For more details seesymfony/symfony#41493Additionally removed symfony/cache conflicts as they no longer apply(we're requiring ^5.2.0)
fabpot commentedJun 2, 2021
Thank you@wouterj. |
Pixelshaped commentedJun 2, 2021
In my User I had to readd the old method: As I understand it, I could remove the new method that will be re-introduced for the 6.0 BC? |
stof commentedJun 2, 2021
yeah, the |
derrabus commentedJun 2, 2021
Don't remove the new method. Keep both methods for now and drop |
This updates the makers forsymfony/symfony#41493
This updates the makers forsymfony/symfony#41493
…outerj, weaverryan)This PR was merged into the 1.0-dev branch.Discussion----------[make:user] Keep implementing deprecated username methodsThis updates the makers forsymfony/symfony#41493 (where these methods are reintroduced to the interface for 5.3.1)Commits-------2d9312e Fix testsbd55d19 Update src/Resources/skeleton/security/UserProvider.tpl.phpc3d4046 Still implement deprecated username method
This updates the makers forsymfony/symfony#41493
…outerj, weaverryan)This PR was merged into the 1.0-dev branch.Discussion----------[make:user] Keep implementing deprecated username methodsThis updates the makers forsymfony/symfony#41493 (where these methods are reintroduced to the interface for 5.3.1)Commits-------2d9312e0 Fix testsbd55d199 Update src/Resources/skeleton/security/UserProvider.tpl.phpc3d40460 Still implement deprecated username method
Readd the deprecated methods to the interface, to make sure third party packages <5.3 work with objects created using the 5.3+ interfaces.
I've tested in a project and the deprecation is not triggered when implementing the method, only when calling. So this should still allow applications to be deprecation free in 5.4.