use flyeralarm/php-code-validator to validate PHP code

This commit is contained in:
Dominik Liebler
2019-08-26 06:31:47 +02:00
parent 87f8eb1983
commit 92482c29bc
5 changed files with 54 additions and 7 deletions

8
phpcs.xml.dist Normal file
View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8" ?>
<ruleset name="Project Rules">
<directory>**/*.php</directory>
<exclude-pattern>vendor</exclude-pattern>
<arg value="sp"/>
<rule ref="vendor/flyeralarm/php-code-validator/ruleset.xml"/>
</ruleset>