diff options
Diffstat (limited to '.phpcs.xml')
-rw-r--r-- | .phpcs.xml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/.phpcs.xml b/.phpcs.xml new file mode 100644 index 00000000..ad9c46af --- /dev/null +++ b/.phpcs.xml @@ -0,0 +1,19 @@ +<?xml version="1.0"?> +<ruleset name="Slim coding standard"> + <description>Slim coding standard</description> + <file>lib</file> + + <exclude-pattern>*/lib/_(boilerplate|bootstrap)\.php$</exclude-pattern> + <!-- display progress --> + <arg value="p"/> + <!-- use colors in output --> + <arg name="colors"/> + + <!-- inherit rules from: --> + <rule ref="PSR2"/> + <rule ref="Generic.Arrays.DisallowLongArraySyntax"/> + + <!-- Paths to check --> + <file>Slim</file> + <file>tests</file> +</ruleset> |