summaryrefslogtreecommitdiff
path: root/www/wiki/extensions/MsUpload/.phpcs.xml
diff options
context:
space:
mode:
Diffstat (limited to 'www/wiki/extensions/MsUpload/.phpcs.xml')
-rw-r--r--www/wiki/extensions/MsUpload/.phpcs.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/www/wiki/extensions/MsUpload/.phpcs.xml b/www/wiki/extensions/MsUpload/.phpcs.xml
new file mode 100644
index 00000000..b00fdb8f
--- /dev/null
+++ b/www/wiki/extensions/MsUpload/.phpcs.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0"?>
+<ruleset>
+ <rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki">
+ <exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic" />
+ <exclude name="MediaWiki.Files.ClassMatchesFilename.NotMatch" />
+ <exclude name="MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment" />
+ <exclude name="Squiz.Scope.MethodScope.Missing" />
+ </rule>
+ <file>.</file>
+ <arg name="extensions" value="php,php5,inc" />
+ <arg name="encoding" value="utf8" />
+ <exclude-pattern>vendor</exclude-pattern>
+</ruleset>