- Provided that the following methods are used only in tests, all usages of deprecated AbstractAuthenticationProvider ::setLogger, ::setManager, ::setConfig, ::setHookContainer methods must be replaced with AbstractAuthenticationProvider::init.
- If it's overridden AbstractAuthenticationProvider::setConfig or AbstractAuthenticationProvider ::setLogger, ::setManager, ::setConfig, ::setHookContainer are used outside the test codebase of the extension, so replace it with AbstractAuthenticationProvider::postInitSetup to do any necessary setup.
Description
Description
Details
Details
Related Changes in Gerrit:
Event Timeline
Comment Actions
Change 685797 had a related patch set uploaded (by Vlad.shapik; author: Vlad.shapik):
[mediawiki/extensions/OATHAuth@master] Hard deprecate the setters of AbstractAuthenticationProvider class
Comment Actions
@Vlad.shapik for future reference for these tasks and patches, they are for *replacing uses of the methods* in the different extensions, so the methods can be hard deprecated in core, and should be named accordingly - its confusing to see tasks and patches saying hard deprecate the methods in a bunch of extensions
Comment Actions
Change 685797 merged by jenkins-bot:
[mediawiki/extensions/OATHAuth@master] Replace uses of the deprecated setters of AbstractAuthenticationProvider