summaryrefslogtreecommitdiff
path: root/phpcs.xml.dist
diff options
context:
space:
mode:
Diffstat (limited to 'phpcs.xml.dist')
-rw-r--r--phpcs.xml.dist18
1 files changed, 18 insertions, 0 deletions
diff --git a/phpcs.xml.dist b/phpcs.xml.dist
new file mode 100644
index 000000000..9c65eaf98
--- /dev/null
+++ b/phpcs.xml.dist
@@ -0,0 +1,18 @@
+<?xml version="1.0"?>
+<ruleset name="PHP_CodeSniffer">
+ <description>The coding standard for PHP_CodeSniffer itself.</description>
+
+ <file>lib/php/lib</file>
+
+ <exclude-pattern>*/Standards/*/Tests/*\.(inc|css|js)</exclude-pattern>
+
+ <arg name="basepath" value="."/>
+ <arg name="colors" />
+ <arg name="parallel" value="4" />
+
+ <rule ref="PSR2">
+ <exclude name="PSR2.Methods.MethodDeclaration.Underscore"/>
+ <exclude name="PSR2.Classes.PropertyDeclaration.Underscore"/>
+ </rule>
+
+</ruleset>