summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Evans <grknight@gentoo.org>2018-11-20 11:16:21 -0500
committerBrian Evans <grknight@gentoo.org>2018-11-20 11:16:21 -0500
commit1c4e122e1193fedfdd349140a04704fddb5e1dd9 (patch)
tree8f1f8a2aa87fb13707e01edc5eaacaa40f8e3c3f /UserMerge/phpcs.xml
parentUserFunctions: Update for MW1.30 and upstream version 2.7.0 (diff)
downloadextensions-1c4e122e1193fedfdd349140a04704fddb5e1dd9.tar.gz
extensions-1c4e122e1193fedfdd349140a04704fddb5e1dd9.tar.bz2
extensions-1c4e122e1193fedfdd349140a04704fddb5e1dd9.zip
UserMerge: Update to REL_1_30
Signed-off-by: Brian Evans <grknight@gentoo.org>
Diffstat (limited to 'UserMerge/phpcs.xml')
-rw-r--r--UserMerge/phpcs.xml17
1 files changed, 17 insertions, 0 deletions
diff --git a/UserMerge/phpcs.xml b/UserMerge/phpcs.xml
new file mode 100644
index 00000000..68d59638
--- /dev/null
+++ b/UserMerge/phpcs.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0"?>
+<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.MissingDocumentationProtected" />
+ <exclude name="MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment" />
+ </rule>
+ <rule ref="Generic.Files.LineLength">
+ <exclude-pattern>UserMerge.alias.php</exclude-pattern>
+ </rule>
+ <file>.</file>
+ <arg name="extensions" value="php,php5,inc" />
+ <arg name="encoding" value="UTF-8" />
+ <exclude-pattern>vendor</exclude-pattern>
+</ruleset>