aboutsummaryrefslogtreecommitdiffstats
path: root/includes/logging
diff options
context:
space:
mode:
authorKunal Mehta <legoktm@member.fsf.org>2017-07-22 18:24:09 -0700
committerKunal Mehta <legoktm@member.fsf.org>2017-07-22 18:24:09 -0700
commitd1cf48a397edbbe9c6a63d6f83861d676f686d07 (patch)
tree5786bc42e1a7b5eb336040286b965ef262244195 /includes/logging
parentde5e6e666945a8708bb3df48ac309e6d0d691e74 (diff)
downloadmediawikicore-d1cf48a397edbbe9c6a63d6f83861d676f686d07.tar.gz
mediawikicore-d1cf48a397edbbe9c6a63d6f83861d676f686d07.zip
build: Update mediawiki/mediawiki-codesniffer to 0.10.1
And auto-fix all errors. The `<exclude-pattern>` stanzas are now included in the default ruleset and don't need to be repeated. Change-Id: I928af549dc88ac2c6cb82058f64c7c7f3111598a
Diffstat (limited to 'includes/logging')
-rw-r--r--includes/logging/LogPage.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/logging/LogPage.php b/includes/logging/LogPage.php
index faca5bc8a17d..ec97b50c24f4 100644
--- a/includes/logging/LogPage.php
+++ b/includes/logging/LogPage.php
@@ -205,7 +205,7 @@ class LogPage {
* @return bool
*/
public static function isLogType( $type ) {
- return in_array( $type, LogPage::validTypes() );
+ return in_array( $type, self::validTypes() );
}
/**
@@ -348,7 +348,7 @@ class LogPage {
$this->action = $action;
$this->target = $target;
$this->comment = $comment;
- $this->params = LogPage::makeParamBlob( $params );
+ $this->params = self::makeParamBlob( $params );
if ( $doer === null ) {
global $wgUser;