aboutsummaryrefslogtreecommitdiffstats
path: root/includes/changes
diff options
context:
space:
mode:
authorAmir Sarabadani <ladsgroup@gmail.com>2023-09-27 15:22:44 +0200
committerJames D. Forrester <jforrester@wikimedia.org>2023-09-27 15:06:32 -0400
commitf5abfb8d5893de33906e0a806e418bdaf1832d1a (patch)
tree8269e101f69c13743b2ee43c2af2e3f5cca320c3 /includes/changes
parentb8afc45302cc2c6995951ee5873f13c7c4ce16f9 (diff)
downloadmediawikicore-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.php2
-rw-r--r--includes/changes/RCCacheEntryFactory.php4
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'] )