jenkins-bot has submitted this change and it was merged.
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(-)
Approvals:
Legoktm: Looks good to me, approved
jenkins-bot: Verified
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: merged
Gerrit-Change-Id: Iaffa931acfc2f0eb4b4a6cf61d63593bb860d25c
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Echo
Gerrit-Branch: master
Gerrit-Owner: Jforrester <[email protected]>
Gerrit-Reviewer: Legoktm <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits