diff options
author | Amir Sarabadani <ladsgroup@gmail.com> | 2023-09-27 15:22:44 +0200 |
---|---|---|
committer | James D. Forrester <jforrester@wikimedia.org> | 2023-09-27 15:06:32 -0400 |
commit | f5abfb8d5893de33906e0a806e418bdaf1832d1a (patch) | |
tree | 8269e101f69c13743b2ee43c2af2e3f5cca320c3 /includes/changes | |
parent | b8afc45302cc2c6995951ee5873f13c7c4ce16f9 (diff) | |
download | mediawikicore-f5abfb8d5893de33906e0a806e418bdaf1832d1a.tar.gz mediawikicore-f5abfb8d5893de33906e0a806e418bdaf1832d1a.zip |
Bump codesniffer to 42.0.0
Most noisily, this enables MediaWiki.Arrays.OneSpaceInlineArray.
Change-Id: I8ab11399c67ce7e3ab1b6249b591452774393428
Diffstat (limited to 'includes/changes')
-rw-r--r-- | includes/changes/ChangesList.php | 2 | ||||
-rw-r--r-- | includes/changes/RCCacheEntryFactory.php | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/includes/changes/ChangesList.php b/includes/changes/ChangesList.php index c840c5852dcb..8af1479bf837 100644 --- a/includes/changes/ChangesList.php +++ b/includes/changes/ChangesList.php @@ -941,7 +941,7 @@ class ChangesList extends ContextSource { $this->getUser()->getName(), $this->getLanguage()->getCode() ), - fn() => ChangeTags::formatSummaryRow( + fn () => ChangeTags::formatSummaryRow( $rc->mAttribs['ts_tags'], 'changeslist', $this->getContext() diff --git a/includes/changes/RCCacheEntryFactory.php b/includes/changes/RCCacheEntryFactory.php index be972f49d644..47374574f1ba 100644 --- a/includes/changes/RCCacheEntryFactory.php +++ b/includes/changes/RCCacheEntryFactory.php @@ -111,7 +111,7 @@ class RCCacheEntryFactory { $this->context->getUser()->getName(), $this->context->getLanguage()->getCode() ), - static fn() => Linker::userToolLinks( + static fn () => Linker::userToolLinks( $cacheEntry->mAttribs['rc_user'], $cacheEntry->mAttribs['rc_user_text'], // Should the contributions link be red if the user has no edits (using default) @@ -330,7 +330,7 @@ class RCCacheEntryFactory { $this->context->getUser()->getName(), $this->context->getLanguage()->getCode() ), - static fn() => Linker::userLink( + static fn () => Linker::userLink( $cacheEntry->mAttribs['rc_user'], $cacheEntry->mAttribs['rc_user_text'], ExternalUserNames::getLocal( $cacheEntry->mAttribs['rc_user_text'] ) |