summaryrefslogtreecommitdiff
path: root/.phpcs.xml
diff options
context:
space:
mode:
Diffstat (limited to '.phpcs.xml')
-rw-r--r--.phpcs.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/.phpcs.xml b/.phpcs.xml
new file mode 100644
index 0000000..ed598e5
--- /dev/null
+++ b/.phpcs.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0"?>
+<ruleset>
+ <rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki">
+ <exclude name="Generic.Files.OneObjectStructurePerFile.MultipleFound"/>
+ <exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationProtected"/>
+ <exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic"/>
+ <exclude name="MediaWiki.Files.ClassMatchesFilename.NotMatch"/>
+ </rule>
+ <file>.</file>
+ <exclude-pattern>/examples/*</exclude-pattern>
+ <arg name="extensions" value="php"/>
+ <arg name="encoding" value="UTF-8"/>
+</ruleset>