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

Change subject: Enable Squiz.WhiteSpace.LanguageConstructSpacing.Incorrect and 
Squiz.WhiteSpace.LanguageConstructSpacing.IncorrectSingle
......................................................................


Enable Squiz.WhiteSpace.LanguageConstructSpacing.Incorrect and 
Squiz.WhiteSpace.LanguageConstructSpacing.IncorrectSingle

Change-Id: Ibc08ad6a9166c057300da4007aa044f473f20fe5
---
M docroot/noc/conf/index.php
M phpcs.xml
M wmf-config/missing.php
3 files changed, 2 insertions(+), 8 deletions(-)

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



diff --git a/docroot/noc/conf/index.php b/docroot/noc/conf/index.php
index fa84a46..368689d 100644
--- a/docroot/noc/conf/index.php
+++ b/docroot/noc/conf/index.php
@@ -9,7 +9,7 @@
                        echo "\n<li>";
 
                        if ( $highlight ) {
-                               echo  '<a href="./highlight.php?file=' . 
htmlspecialchars( urlencode( $srcFilename ) ) . '">'
+                               echo '<a href="./highlight.php?file=' . 
htmlspecialchars( urlencode( $srcFilename ) ) . '">'
                                        . htmlspecialchars( $srcFilename );
                                echo '</a> (<a href="./' . htmlspecialchars( 
urlencode( $viewFilename ) ) . '">raw text</a>)';
                        } else {
diff --git a/phpcs.xml b/phpcs.xml
index fddf578..c35be35 100644
--- a/phpcs.xml
+++ b/phpcs.xml
@@ -52,12 +52,6 @@
        <rule ref="Squiz.Classes.ValidClassName.NotCamelCaps">
                <severity>0</severity>
        </rule>
-       <rule ref="Squiz.WhiteSpace.LanguageConstructSpacing.Incorrect">
-               <severity>0</severity>
-       </rule>
-       <rule ref="Squiz.WhiteSpace.LanguageConstructSpacing.IncorrectSingle">
-               <severity>0</severity>
-       </rule>
 
        <exclude-pattern>\.git/</exclude-pattern>
        <exclude-pattern>vendor/</exclude-pattern>
diff --git a/wmf-config/missing.php b/wmf-config/missing.php
index f01ee1b..2918898 100644
--- a/wmf-config/missing.php
+++ b/wmf-config/missing.php
@@ -71,7 +71,7 @@
                # Open the interwiki file to see if we have an interwiki prefix
                $db = null;
                try {
-                       $db = include  __DIR__ . '/interwiki.php';
+                       $db = include __DIR__ . '/interwiki.php';
                } catch ( Exception $e ) {
                }
 

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ibc08ad6a9166c057300da4007aa044f473f20fe5
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Reedy <re...@wikimedia.org>
Gerrit-Reviewer: Reedy <re...@wikimedia.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