diff options
author | Daimona Eaytoy <daimona.wiki@gmail.com> | 2019-09-01 14:45:11 +0200 |
---|---|---|
committer | Krinkle <krinklemail@gmail.com> | 2019-09-04 01:02:06 +0000 |
commit | 43cc14657dae8594eebbf2e7e33a5a3c50b2e9e4 (patch) | |
tree | 5cea80a9e433fbce85f17cca13f899d7db475779 /includes/parser/Preprocessor.php | |
parent | e7051c851cc23bf401018277fe75359e214bb34b (diff) | |
download | mediawikicore-43cc14657dae8594eebbf2e7e33a5a3c50b2e9e4.tar.gz mediawikicore-43cc14657dae8594eebbf2e7e33a5a3c50b2e9e4.zip |
Unsuppress phan issues, part 8
And also clean up the config.
Bug: T231636
Depends-On: Ie6233561de78457cae5e4e44e220feec2d1272d8
Change-Id: I82a279e1f7b0fdefd3bb712e46c7d0665429d065
Diffstat (limited to 'includes/parser/Preprocessor.php')
-rw-r--r-- | includes/parser/Preprocessor.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/includes/parser/Preprocessor.php b/includes/parser/Preprocessor.php index b321078dcdfb..99ca1be4897b 100644 --- a/includes/parser/Preprocessor.php +++ b/includes/parser/Preprocessor.php @@ -76,6 +76,7 @@ abstract class Preprocessor { $cache = MediaWikiServices::getInstance()->getMainWANObjectCache(); $key = $cache->makeKey( + // @phan-suppress-next-line PhanUndeclaredConstant defined( 'static::CACHE_PREFIX' ) ? static::CACHE_PREFIX : static::class, md5( $text ), $flags @@ -108,6 +109,7 @@ abstract class Preprocessor { $cache = MediaWikiServices::getInstance()->getMainWANObjectCache(); $key = $cache->makeKey( + // @phan-suppress-next-line PhanUndeclaredConstant defined( 'static::CACHE_PREFIX' ) ? static::CACHE_PREFIX : static::class, md5( $text ), $flags |