mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-01 12:19:28 +00:00
Added excludes to PHPMD and PHPCS rule sets
This commit is contained in:
@@ -2,11 +2,13 @@
|
||||
<ruleset name="FHComplete">
|
||||
<description>FHComplete's coding standard</description>
|
||||
|
||||
<!-- Ignored directories if phpcs is running from command line -->
|
||||
<!-- 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>
|
||||
|
||||
<rule ref="PSR2">
|
||||
<exclude name="PSR1.Classes.ClassDeclaration" />
|
||||
|
||||
@@ -9,11 +9,13 @@
|
||||
Performs the strictly necessary checks before the code can be merged into the main branch and then deployed to production
|
||||
</description>
|
||||
|
||||
<!-- Ignored directories if phpmd is running from command line -->
|
||||
<!-- 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 entire clean code rule set -->
|
||||
<rule ref="rulesets/cleancode.xml" />
|
||||
|
||||
Reference in New Issue
Block a user