jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/371280 )

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


build: Updating mediawiki/mediawiki-codesniffer to 0.11.0

Change-Id: I48f0b64f19f9582b40540fa1b42a39d281979624
---
M composer.json
M includes/DiscussionParser.php
M includes/api/ApiEchoNotifications.php
3 files changed, 4 insertions(+), 4 deletions(-)

Approvals:
  Legoktm: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/composer.json b/composer.json
index 91c6304..eff2a81 100644
--- a/composer.json
+++ b/composer.json
@@ -1,7 +1,7 @@
 {
        "require-dev": {
                "jakub-onderka/php-parallel-lint": "0.9.2",
-               "mediawiki/mediawiki-codesniffer": "0.10.1",
+               "mediawiki/mediawiki-codesniffer": "0.11.0",
                "jakub-onderka/php-console-highlighter": "0.3.2"
        },
        "scripts": {
diff --git a/includes/DiscussionParser.php b/includes/DiscussionParser.php
index a1b1ea8..11d5e7f 100644
--- a/includes/DiscussionParser.php
+++ b/includes/DiscussionParser.php
@@ -746,7 +746,7 @@
                if ( $matches[0][0][1] > 1 ) { // is there text before the 
first headline?
                        $sections[] = [
                                'header' => false,
-                               'content' =>  substr( $text, 0, 
$matches[0][0][1] - 1 )
+                               'content' => substr( $text, 0, 
$matches[0][0][1] - 1 )
                        ];
                }
                for ( $i = 0; $i < $sectionNum; $i++ ) {
@@ -757,7 +757,7 @@
                        }
                        $sections[] = [
                                'header' => self::extractHeader( 
$matches[0][$i][0] ),
-                               'content' =>  trim( $content )
+                               'content' => trim( $content )
                        ];
                }
 
diff --git a/includes/api/ApiEchoNotifications.php 
b/includes/api/ApiEchoNotifications.php
index 870d9f7..121499c 100644
--- a/includes/api/ApiEchoNotifications.php
+++ b/includes/api/ApiEchoNotifications.php
@@ -277,7 +277,7 @@
                        // @todo: what to do with this when fetching from 
multiple wikis?
                        $timestamp = wfTimestamp( TS_UNIX, 
$overfetchedItem->getTimestamp() );
                        $id = $overfetchedItem->getEvent()->getId();
-                       $result['continue'] =  $timestamp . '|' . $id;
+                       $result['continue'] = $timestamp . '|' . $id;
                }
 
                return $result;

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I48f0b64f19f9582b40540fa1b42a39d281979624
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Echo
Gerrit-Branch: master
Gerrit-Owner: Legoktm <lego...@member.fsf.org>
Gerrit-Reviewer: Legoktm <lego...@member.fsf.org>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to