diff options
author | Timo Tijhof <krinklemail@gmail.com> | 2019-04-11 23:22:08 +0100 |
---|---|---|
committer | Timo Tijhof <krinklemail@gmail.com> | 2019-06-13 18:28:58 +0100 |
commit | 3656607b7daa4b1a2b059e07f1c93c6ce3d2ec51 (patch) | |
tree | eb97fe6ad5245ecb287757130b1c9976b0fd5827 /tests/phpunit/includes/diff/ArrayDiffFormatterTest.php | |
parent | 84395e9f3dab6779740c922963b6d9d961015550 (diff) | |
download | mediawikicore-3656607b7daa4b1a2b059e07f1c93c6ce3d2ec51.tar.gz mediawikicore-3656607b7daa4b1a2b059e07f1c93c6ce3d2ec51.zip |
resourceloader: Deprecate ResourceLoaderContext::getConfig and ::getLogger
The methods existed for two use cases.
1. Inside ResourceLoaderContext, usage was removed with I4e4ee758cd22.
2. In Module class methods that get $context, already have their own
Config and Logger instances injected from ResourceLoader::getModule(),
which should be used instead.
Deprecating these opens the paths for making ResourceLoaderContext
a purer value object with no ResourceLoader, Config, or Logger objects
needing to be passed (in the future).
Bug: T32956
Change-Id: I74a9535918ea43b2c00073c5d4469f864d1eeb41
Diffstat (limited to 'tests/phpunit/includes/diff/ArrayDiffFormatterTest.php')
0 files changed, 0 insertions, 0 deletions