mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-01 20:29:29 +00:00
Added new PHPMD ruleset rulesets-dev-only.xml
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
<?xml version="1.0"?>
|
||||
<ruleset name="Strictly necessary 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>
|
||||
Performs the DevelopmentCodeFragment check before the code can be merged into the main branch and then deployed to production
|
||||
</description>
|
||||
|
||||
<!-- Ignored directories -->
|
||||
<exclude-pattern>\.git</exclude-pattern>
|
||||
<exclude-pattern>vendor</exclude-pattern>
|
||||
<exclude-pattern>tests</exclude-pattern>
|
||||
<exclude-pattern>application/controllers/api/v1</exclude-pattern>
|
||||
<exclude-pattern>application/extensions</exclude-pattern>
|
||||
<exclude-pattern>addons</exclude-pattern>
|
||||
|
||||
<!-- Import the DevelopmentCodeFragment rule from the design rule set -->
|
||||
<rule ref="rulesets/design.xml/DevelopmentCodeFragment" />
|
||||
</ruleset>
|
||||
|
||||
Reference in New Issue
Block a user