mirror of
https://github.com/friendica/friendica
synced 2025-02-22 22:38:14 +00:00
Add very tolerant ruleset for friendica code
This commit is contained in:
parent
f775d6e049
commit
5fe7af6489
1 changed files with 26 additions and 0 deletions
26
.phpmd.xml
Normal file
26
.phpmd.xml
Normal file
|
@ -0,0 +1,26 @@
|
|||
<?xml version="1.0"?>
|
||||
<ruleset name="My first PHPMD rule set"
|
||||
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>
|
||||
PHPMD ruleset for friendica code.
|
||||
</description>
|
||||
|
||||
<rule ref="rulesets/codesize.xml/ExcessiveClassComplexity">
|
||||
<priority>3</priority>
|
||||
<properties>
|
||||
<property name="maximum" value="500" />
|
||||
</properties>
|
||||
</rule>
|
||||
<rule ref="rulesets/codesize.xml/CyclomaticComplexity">
|
||||
<priority>3</priority>
|
||||
<properties>
|
||||
<property name="reportLevel" value="100" />
|
||||
</properties>
|
||||
</rule>
|
||||
|
||||
</ruleset>
|
Loading…
Add table
Reference in a new issue