Legoktm has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/371334 )

Change subject: build: Updating mediawiki/mediawiki-codesniffer to 0.11.0
......................................................................

build: Updating mediawiki/mediawiki-codesniffer to 0.11.0

Change-Id: Ib167d8a837b33550cd204e95925c38022c2137f7
---
M classes/Dispatch.php
M classes/View.php
M composer.json
M pages/TalkpageView.php
M pages/ThreadHistoricalRevisionView.php
5 files changed, 6 insertions(+), 6 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/LiquidThreads 
refs/changes/34/371334/1

diff --git a/classes/Dispatch.php b/classes/Dispatch.php
index 18027d2..e8ffb01 100644
--- a/classes/Dispatch.php
+++ b/classes/Dispatch.php
@@ -74,7 +74,7 @@
         * @return bool
         */
        public static function threadPermalinkMain( &$output, &$article, 
&$title, &$user, &$request ) {
-               $action =  $request->getVal( 'action' );
+               $action = $request->getVal( 'action' );
                $lqt_method = $request->getVal( 'lqt_method' );
 
                if ( $lqt_method == 'thread_history' ) {
diff --git a/classes/View.php b/classes/View.php
index 2573ac1..3874349 100644
--- a/classes/View.php
+++ b/classes/View.php
@@ -73,7 +73,7 @@
 
        static function permalinkUrl( $thread, $method = null, $operand = null,
                                                                        $uquery 
= [], $relative = true ) {
-               list ( $title, $query ) = self::permalinkData( $thread, 
$method, $operand );
+               list( $title, $query ) = self::permalinkData( $thread, $method, 
$operand );
 
                $query = array_merge( $query, $uquery );
 
diff --git a/composer.json b/composer.json
index 87c8cbc..f4d24d4 100644
--- a/composer.json
+++ b/composer.json
@@ -9,7 +9,7 @@
        "require-dev": {
                "jakub-onderka/php-parallel-lint": "0.9.2",
                "jakub-onderka/php-console-highlighter": "0.3.2",
-               "mediawiki/mediawiki-codesniffer": "0.10.1"
+               "mediawiki/mediawiki-codesniffer": "0.11.0"
        },
        "scripts": {
                "fix": "phpcbf",
diff --git a/pages/TalkpageView.php b/pages/TalkpageView.php
index 697c6b1..a3795ee 100644
--- a/pages/TalkpageView.php
+++ b/pages/TalkpageView.php
@@ -60,7 +60,7 @@
                        $article->view();
 
                        $actionLinks = [];
-                       $msgKey =  $article->getTitle()->quickUserCan( 'edit' ) 
? 'edit' : 'viewsource';
+                       $msgKey = $article->getTitle()->quickUserCan( 'edit' ) 
? 'edit' : 'viewsource';
                        $actionLinks[] = $this->linkRenderer->makeLink(
                                $article->getTitle(),
                                new HtmlArmor( wfMessage( $msgKey )->parse() . 
"↑" ),
diff --git a/pages/ThreadHistoricalRevisionView.php 
b/pages/ThreadHistoricalRevisionView.php
index 4df3e04..8688188 100644
--- a/pages/ThreadHistoricalRevisionView.php
+++ b/pages/ThreadHistoricalRevisionView.php
@@ -7,7 +7,7 @@
 
        function postDivClass( $thread ) {
                $changedObject = $this->mDisplayRevision->getChangeObject();
-               $is_changed_thread =  $changedObject &&
+               $is_changed_thread = $changedObject &&
                                        ( $changedObject->id() == $thread->id() 
);
 
                $class = parent::postDivClass( $thread );
@@ -54,7 +54,7 @@
                )->parse();
 
                $html .= '<br />';
-               $html .=  $this->getChangeDescription();
+               $html .= $this->getChangeDescription();
 
                $html = Xml::tags( 'div', [ 'class' => 'lqt_history_info' ], 
$html );
 

-- 
To view, visit https://gerrit.wikimedia.org/r/371334
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib167d8a837b33550cd204e95925c38022c2137f7
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/LiquidThreads
Gerrit-Branch: master
Gerrit-Owner: Legoktm <lego...@member.fsf.org>
Gerrit-Reviewer: Legoktm <lego...@member.fsf.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to