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

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


build: Updating mediawiki/mediawiki-codesniffer to 0.12.0

The following sniffs are failing and were disabled:
* MediaWiki.Files.ClassMatchesFilename.NotMatch

Change-Id: Ia5b694aa005b6e67796fac2d954220e32393fddb
---
M TemplateData.hooks.php
M composer.json
M phpcs.xml
3 files changed, 7 insertions(+), 6 deletions(-)

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



diff --git a/TemplateData.hooks.php b/TemplateData.hooks.php
index cf60ca2..1b6cf8a 100644
--- a/TemplateData.hooks.php
+++ b/TemplateData.hooks.php
@@ -116,14 +116,14 @@
         * Parser hook for <templatedata>.
         * If there is any JSON provided, render the template documentation on 
the page.
         *
-        * @param string $input: The content of the tag.
-        * @param array $args: The attributes of the tag.
-        * @param Parser $parser: Parser instance available to render
+        * @param string $input The content of the tag.
+        * @param array $args The attributes of the tag.
+        * @param Parser $parser Parser instance available to render
         *  wikitext into html, or parser methods.
-        * @param PPFrame $frame: Can be used to see what template parameters 
("{{{1}}}", etc.)
+        * @param PPFrame $frame Can be used to see what template parameters 
("{{{1}}}", etc.)
         *  this hook was used with.
         *
-        * @return string: HTML to insert in the page.
+        * @return string HTML to insert in the page.
         */
        public static function render( $input, $args, $parser, $frame ) {
                $ti = TemplateDataBlob::newFromJSON( $input );
diff --git a/composer.json b/composer.json
index d1e3215..daa26e1 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.11.0",
+               "mediawiki/mediawiki-codesniffer": "0.12.0",
                "jakub-onderka/php-console-highlighter": "0.3.2"
        },
        "scripts": {
diff --git a/phpcs.xml b/phpcs.xml
index 36a99e2..649a74b 100644
--- a/phpcs.xml
+++ b/phpcs.xml
@@ -6,6 +6,7 @@
                <exclude 
name="MediaWiki.Commenting.FunctionComment.MissingParamTag" />
                <exclude 
name="MediaWiki.Commenting.FunctionComment.MissingReturn" />
                <exclude 
name="MediaWiki.Commenting.FunctionComment.ParamNameNoMatch" />
+               <exclude name="MediaWiki.Files.ClassMatchesFilename.NotMatch" />
                <exclude 
name="MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic" />
                <exclude 
name="MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment" />
        </rule>

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ia5b694aa005b6e67796fac2d954220e32393fddb
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/TemplateData
Gerrit-Branch: master
Gerrit-Owner: Libraryupgrader <[email protected]>
Gerrit-Reviewer: Legoktm <[email protected]>
Gerrit-Reviewer: Niharika29 <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to