]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - phpcs.xml
Merge tag 'v0.10.4' into stable
[github/shaarli/Shaarli.git] / phpcs.xml
diff --git a/phpcs.xml b/phpcs.xml
new file mode 100644 (file)
index 0000000..29b95d5
--- /dev/null
+++ b/phpcs.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0"?>
+<ruleset name="Shaarli">
+  <description>The Shaarli coding standards</description>
+
+  <file>index.php</file>
+  <file>application</file>
+  <file>plugins</file>
+  <file>tests</file>
+
+  <exclude-pattern>*/*.css</exclude-pattern>
+  <exclude-pattern>*/*.js</exclude-pattern>
+
+  <arg name="colors"/>
+
+  <rule ref="PSR1"/>
+  <rule ref="PSR2"/>
+</ruleset>