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

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

build: Updating mediawiki/mediawiki-codesniffer to 0.11.0

Change-Id: I51de4f00a7b2049fba8fc1dcaab2d8adc5a4cc7a
---
M composer.json
M includes/GlobalBlocking.class.php
M includes/specials/SpecialGlobalBlockList.php
3 files changed, 3 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/GlobalBlocking 
refs/changes/07/371307/1

diff --git a/composer.json b/composer.json
index c0f3175..c34f4ff 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/GlobalBlocking.class.php 
b/includes/GlobalBlocking.class.php
index c491dd4..779e2e6 100644
--- a/includes/GlobalBlocking.class.php
+++ b/includes/GlobalBlocking.class.php
@@ -110,7 +110,7 @@
                                $xffIps = array_map( 'trim', explode( ',', 
$xffIps ) );
                                $blocks = self::checkIpsForBlock( $xffIps, 
$user->isAnon() );
                                if ( count( $blocks ) > 0 ) {
-                                       list ( $blockIP, $block ) = 
self::getAppliedBlock( $xffIps, $blocks );
+                                       list( $blockIP, $block ) = 
self::getAppliedBlock( $xffIps, $blocks );
                                        $blockTimestamp = $wgLang->timeanddate(
                                                wfTimestamp( TS_MW, 
$block->gb_timestamp ),
                                                true
diff --git a/includes/specials/SpecialGlobalBlockList.php 
b/includes/specials/SpecialGlobalBlockList.php
index 1bbc63c..cf9c0b0 100644
--- a/includes/specials/SpecialGlobalBlockList.php
+++ b/includes/specials/SpecialGlobalBlockList.php
@@ -76,7 +76,7 @@
                $ip = $this->target;
 
                if ( $ip ) {
-                       list ( $rangeStart, $rangeEnd ) = IP::parseRange( $ip );
+                       list( $rangeStart, $rangeEnd ) = IP::parseRange( $ip );
 
                        if ( $rangeStart === $rangeEnd ) {
                                // They searched for an IP. Match any range 
covering that IP

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I51de4f00a7b2049fba8fc1dcaab2d8adc5a4cc7a
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/GlobalBlocking
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