Updated the php_codesniffer required version and added a default phpcs.xml.
Added a PHPMD configuration file. Updated phpci.yml to use the configuration files. Close #913
This commit is contained in:
parent
f25b1d25dc
commit
290c34a27d
5 changed files with 52 additions and 8 deletions
19
phpcs.xml
Normal file
19
phpcs.xml
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
<?xml version="1.0"?>
|
||||
<ruleset name="PHPCI">
|
||||
|
||||
<description>Codestyle ruleset for PHPCI</description>
|
||||
|
||||
<rule ref="PSR2"/>
|
||||
|
||||
<file>PHPCI</file>
|
||||
|
||||
<arg name="encoding" value="UTF-8"/>
|
||||
<arg name="extensions" value="php"/>
|
||||
|
||||
<exclude-pattern>PHPCI/Migrations/*</exclude-pattern>
|
||||
<exclude-pattern>PHPCI/Model/Base/*</exclude-pattern>
|
||||
<exclude-pattern>PHPCI/Languages/*</exclude-pattern>
|
||||
<exclude-pattern>Tests/*</exclude-pattern>
|
||||
<exclude-pattern>vendor/*</exclude-pattern>
|
||||
|
||||
</ruleset>
|
||||
Loading…
Add table
Add a link
Reference in a new issue