summaryrefslogtreecommitdiff
path: root/.phpcs.xml
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2022-12-01 14:15:07 +0100
committerMartin Fischer <martin@push-f.com>2022-12-03 07:33:31 +0100
commitc3c56543c6febe8fd4c66dda5551abe965efff7f (patch)
treee3b831942c9e3bab2a38c0182fba0e56599b84a7 /.phpcs.xml
initial commit
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>