Fixed .php-censor.yml config
This commit is contained in:
parent
6f273bbe6f
commit
bf6762e4c6
|
@ -35,7 +35,7 @@ test:
|
|||
|
||||
failure:
|
||||
email:
|
||||
committer: true
|
||||
committer: false
|
||||
|
||||
complete:
|
||||
email:
|
19
phpcs.xml
19
phpcs.xml
|
@ -1,19 +0,0 @@
|
|||
<?xml version="1.0"?>
|
||||
<ruleset name="PHP Censor">
|
||||
|
||||
<description>Codestyle ruleset for PHP Censor</description>
|
||||
|
||||
<rule ref="PSR2"/>
|
||||
|
||||
<file>PHP Censor</file>
|
||||
|
||||
<arg name="encoding" value="UTF-8"/>
|
||||
<arg name="extensions" value="php"/>
|
||||
|
||||
<exclude-pattern>src/PHPCensor/Migrations/*</exclude-pattern>
|
||||
<exclude-pattern>src/PHPCensor/Model/Base/*</exclude-pattern>
|
||||
<exclude-pattern>src/PHPCensor/Languages/*</exclude-pattern>
|
||||
<exclude-pattern>tests/*</exclude-pattern>
|
||||
<exclude-pattern>vendor/*</exclude-pattern>
|
||||
|
||||
</ruleset>
|
17
phpmd.xml
17
phpmd.xml
|
@ -1,17 +0,0 @@
|
|||
<?xml version="1.0"?>
|
||||
<ruleset name="PHP Censor"
|
||||
xmlns="http://pmd.sf.net/ruleset/1.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://pmd.sf.net/ruleset/1.0.0
|
||||
http://pmd.sf.net/ruleset_xml_schema.xsd"
|
||||
xsi:noNamespaceSchemaLocation="
|
||||
http://pmd.sf.net/ruleset_xml_schema.xsd">
|
||||
<description>
|
||||
PHP Censor rule set
|
||||
</description>
|
||||
|
||||
<rule ref="rulesets/codesize.xml" />
|
||||
<rule ref="rulesets/unusedcode.xml" />
|
||||
<rule ref="rulesets/naming.xml" />
|
||||
|
||||
</ruleset>
|
Loading…
Reference in a new issue