Umherirrender has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/403714 )
Change subject: Improve some parameter docs
......................................................................
Improve some parameter docs
Change-Id: I7ef1922b8a3fffca7366e67fb481637bdc870509
---
M .phpcs.xml
M includes/Hooks.php
M includes/XenForoUser.php
3 files changed, 3 insertions(+), 7 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/XenForoAuth
refs/changes/14/403714/1
diff --git a/.phpcs.xml b/.phpcs.xml
index 336d3de..6cc1952 100644
--- a/.phpcs.xml
+++ b/.phpcs.xml
@@ -2,13 +2,9 @@
<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.ParamNameNoMatch" />
<exclude
name="MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic" />
</rule>
<file>.</file>
<arg name="extensions" value="php,php5,inc" />
- <arg name="encoding" value="utf8" />
- <exclude-pattern>vendor</exclude-pattern>
+ <arg name="encoding" value="UTF-8" />
</ruleset>
diff --git a/includes/Hooks.php b/includes/Hooks.php
index 29549f3..6334108 100644
--- a/includes/Hooks.php
+++ b/includes/Hooks.php
@@ -30,7 +30,7 @@
* @param array $requests
* @param array $fieldInfo
* @param array $formDescriptor
- * @param $action
+ * @param string $action
*/
public static function onAuthChangeFormFields( array $requests, array
$fieldInfo,
array &$formDescriptor, $action
diff --git a/includes/XenForoUser.php b/includes/XenForoUser.php
index dd2bace..29adb3c 100644
--- a/includes/XenForoUser.php
+++ b/includes/XenForoUser.php
@@ -111,7 +111,7 @@
/**
* Check, if the XenForo user ID is already connected to another wiki
account or not.
*
- * @param $id
+ * @param string $xfUserId
* @param int $flags
* @return bool
*/
--
To view, visit https://gerrit.wikimedia.org/r/403714
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I7ef1922b8a3fffca7366e67fb481637bdc870509
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/XenForoAuth
Gerrit-Branch: master
Gerrit-Owner: Umherirrender <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits