Jforrester has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/249779

Change subject: build: Enable phpcs rule 
'MediaWiki.NamingConventions.PrefixedGlobalFunctions.wfPrefix' and make pass
......................................................................

build: Enable phpcs rule 
'MediaWiki.NamingConventions.PrefixedGlobalFunctions.wfPrefix' and make pass

Change-Id: Iaffa931acfc2f0eb4b4a6cf61d63593bb860d25c
---
M phpcs.xml
M scripts/gen-autoload.php
2 files changed, 2 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Echo 
refs/changes/79/249779/1

diff --git a/phpcs.xml b/phpcs.xml
index f550239..77cb22d 100644
--- a/phpcs.xml
+++ b/phpcs.xml
@@ -3,7 +3,6 @@
        <file>.</file>
        <rule ref="vendor/mediawiki/mediawiki-codesniffer/MediaWiki">
                <exclude name="Generic.Files.LineLength"/>
-               <exclude 
name="MediaWiki.NamingConventions.PrefixedGlobalFunctions.wfPrefix"/>
                <exclude 
name="MediaWiki.VariableAnalysis.UnusedGlobalVariables"/>
                <exclude 
name="MediaWiki.WhiteSpace.SpaceAfterControlStructure.Incorrect"/>
                <exclude name="Squiz.Classes.ValidClassName.NotCamelCaps"/>
diff --git a/scripts/gen-autoload.php b/scripts/gen-autoload.php
index 38290ff..c2c65d4 100644
--- a/scripts/gen-autoload.php
+++ b/scripts/gen-autoload.php
@@ -2,7 +2,9 @@
 
 require_once __DIR__ . '/../../../includes/utils/AutoloadGenerator.php';
 
+// @codingStandardsIgnoreStart
 function main() {
+// @codingStandardsIgnoreEnd
        $base = dirname( __DIR__ );
        $generator = new AutoloadGenerator( $base );
        $dirs = array(

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iaffa931acfc2f0eb4b4a6cf61d63593bb860d25c
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Echo
Gerrit-Branch: master
Gerrit-Owner: Jforrester <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to