mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-08-06 15:06:31 +02:00
use flyeralarm/php-code-validator to validate PHP code
This commit is contained in:
8
phpcs.xml.dist
Normal file
8
phpcs.xml.dist
Normal 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>
|
Reference in New Issue
Block a user