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

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

build: Updating mediawiki/mediawiki-codesniffer to 0.11.0

Change-Id: Ib1e48b319d170c95f75ff719d4c16584780f8857
---
M cleanupBug41615.php
M composer.json
M createHumanReadableProjectNameFiles.php
3 files changed, 6 insertions(+), 7 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/WikimediaMaintenance 
refs/changes/32/371432/1

diff --git a/cleanupBug41615.php b/cleanupBug41615.php
index f6df60c..2d5bcac 100644
--- a/cleanupBug41615.php
+++ b/cleanupBug41615.php
@@ -34,7 +34,7 @@
                $binraw = trim( file_get_contents( $this->getOption( 
'binlogdump' ) ) );
                for ( $i = 0; $i < strlen( $binraw ); ++$i ) {
                        $ch = $binraw[$i];
-                       if ( $ch === "'" && ( $i <= 0 || $binraw[$i -1] !== 
"\\" ) ) {
+                       if ( $ch === "'" && ( $i <= 0 || $binraw[$i - 1] !== 
"\\" ) ) {
                                $inQuote = !$inQuote; // unescaped quote
                        }
                        if ( $ch === "\n" && !$inQuote ) {
diff --git a/composer.json b/composer.json
index f677d3a..d355432 100644
--- a/composer.json
+++ b/composer.json
@@ -2,7 +2,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": {
                "lint": "parallel-lint --exclude vendor --exclude node_modules 
--ignore-fails .",
@@ -18,4 +18,3 @@
                "prepend-autoloader": false
        }
 }
-
diff --git a/createHumanReadableProjectNameFiles.php 
b/createHumanReadableProjectNameFiles.php
index 34f69a2..ae7f378 100644
--- a/createHumanReadableProjectNameFiles.php
+++ b/createHumanReadableProjectNameFiles.php
@@ -163,8 +163,8 @@
                                }
 
                                // Output the line
-                               $outEn[ "project-localized-name-" . $dbname ] = 
 $name;
-                               $outQqq[ "project-localized-name-" . $dbname ] 
=  $this->createQQQ( $name, $url );
+                               $outEn[ "project-localized-name-" . $dbname ] = 
$name;
+                               $outQqq[ "project-localized-name-" . $dbname ] 
= $this->createQQQ( $name, $url );
                                $table[$dbname] = [ 'name' => $name, 'url' => 
$url ];
 
                                $counter++;
@@ -186,8 +186,8 @@
                        }
 
                        // Output the line
-                       $outEn[ "project-localized-name-" . $dbname ] =  
$sitename;
-                       $outQqq[ "project-localized-name-" . $dbname ] =  
$this->createQQQ( $sitename, $url );
+                       $outEn[ "project-localized-name-" . $dbname ] = 
$sitename;
+                       $outQqq[ "project-localized-name-" . $dbname ] = 
$this->createQQQ( $sitename, $url );
                        $table[$dbname] = [ 'name' => $sitename, 'url' => $url 
];
 
                        $counter++;

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

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