Umherirrender has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/384239 )

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

Improve some parameter docs

Change-Id: I49c49c8ae419342bcb430047d2180705140d7aa3
---
M SearchExtraNS.class.php
M phpcs.xml
2 files changed, 6 insertions(+), 9 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/SearchExtraNS 
refs/changes/39/384239/1

diff --git a/SearchExtraNS.class.php b/SearchExtraNS.class.php
index c04d730..879330d 100644
--- a/SearchExtraNS.class.php
+++ b/SearchExtraNS.class.php
@@ -3,10 +3,10 @@
 class SearchExtraNS {
 
        /**
-       * @param $term string
-       * @param $title Title
-       * @return bool
-       */
+        * @param string $term
+        * @param Title &$title
+        * @return bool
+        */
        public static function NearMatch( $term, &$title ) {
                global $wgSearchExtraNamespaces;
 
diff --git a/phpcs.xml b/phpcs.xml
index 7f68acc..21e0cec 100644
--- a/phpcs.xml
+++ b/phpcs.xml
@@ -1,14 +1,11 @@
 <?xml version="1.0"?>
 <ruleset>
        <rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki">
-               <exclude 
name="MediaWiki.Commenting.FunctionComment.MissingParamName" />
-               <exclude 
name="MediaWiki.Commenting.FunctionComment.MissingParamTag" />
+               <exclude 
name="MediaWiki.Commenting.FunctionComment.MissingParamComment" />
                <exclude name="MediaWiki.Files.ClassMatchesFilename.NotMatch" />
                <exclude 
name="MediaWiki.NamingConventions.LowerCamelFunctionsName.FunctionName" />
        </rule>
        <file>.</file>
        <arg name="extensions" value="php,php5,inc" />
-       <arg name="encoding" value="utf8" />
-       <exclude-pattern>vendor</exclude-pattern>
-       <exclude-pattern>node_modules</exclude-pattern>
+       <arg name="encoding" value="UTF-8" />
 </ruleset>

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I49c49c8ae419342bcb430047d2180705140d7aa3
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/SearchExtraNS
Gerrit-Branch: master
Gerrit-Owner: Umherirrender <umherirrender_de...@web.de>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to