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

Change subject: Improve some parameter docs
......................................................................


Improve some parameter docs

Change-Id: I10f07463e47dfd3a49effad35c368d18942ba997
---
M BabelStatic.class.php
M includes/ApiQueryBabel.php
M includes/Database.php
M phpcs.xml
4 files changed, 3 insertions(+), 8 deletions(-)

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



diff --git a/BabelStatic.class.php b/BabelStatic.class.php
index 71b46f2..438470e 100644
--- a/BabelStatic.class.php
+++ b/BabelStatic.class.php
@@ -14,7 +14,7 @@
        /**
         * Registers the parser function hook.
         *
-        * @param $parser Parser
+        * @param Parser $parser
         *
         * @return bool True.
         */
diff --git a/includes/ApiQueryBabel.php b/includes/ApiQueryBabel.php
index 1110973..45385d7 100644
--- a/includes/ApiQueryBabel.php
+++ b/includes/ApiQueryBabel.php
@@ -66,7 +66,7 @@
        }
 
        /**
-        * @see ApiBase::getExamplesMessages()
+        * @inheritDoc
         */
        protected function getExamplesMessages() {
                return [
diff --git a/includes/Database.php b/includes/Database.php
index d1dea48..551f424 100644
--- a/includes/Database.php
+++ b/includes/Database.php
@@ -34,7 +34,7 @@
        }
 
        /**
-        * @param $index
+        * @param int $index
         * @return \IDatabase
         */
        protected function getDB( $index ) {
diff --git a/phpcs.xml b/phpcs.xml
index d53a245..77e7469 100644
--- a/phpcs.xml
+++ b/phpcs.xml
@@ -2,9 +2,6 @@
 <ruleset>
        <rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki">
                <exclude 
name="MediaWiki.Commenting.FunctionComment.MissingParamComment" />
-               <exclude 
name="MediaWiki.Commenting.FunctionComment.MissingParamName" />
-               <exclude 
name="MediaWiki.Commenting.FunctionComment.MissingParamTag" />
-               <exclude 
name="MediaWiki.Commenting.FunctionComment.MissingReturn" />
                <exclude name="MediaWiki.Files.ClassMatchesFilename.NotMatch" />
                <exclude 
name="MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic" />
                <exclude 
name="MediaWiki.NamingConventions.LowerCamelFunctionsName.FunctionName" />
@@ -14,6 +11,4 @@
        <arg name="extensions" value="php,php5,inc"/>
        <arg name="encoding" value="UTF-8"/>
        <exclude-pattern type="relative">extensions</exclude-pattern>
-       <exclude-pattern>vendor</exclude-pattern>
-       <exclude-pattern>node_modules</exclude-pattern>
 </ruleset>

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I10f07463e47dfd3a49effad35c368d18942ba997
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Babel
Gerrit-Branch: master
Gerrit-Owner: Umherirrender <[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

Reply via email to