- Added excluded directories to PHPMD and PHPCS rule sets

- Added testing file for Lint
This commit is contained in:
Paolo
2022-02-10 15:00:00 +01:00
parent c84dcd900b
commit 6066da470e
3 changed files with 96 additions and 1 deletions
+2 -1
View File
@@ -2,10 +2,11 @@
<ruleset name="FHComplete">
<description>FHComplete's coding standard</description>
<!-- Ignored directories if phpcs is running from command line, already ignored by phpci -->
<!-- Ignored directories if phpcs is running from command line -->
<exclude-pattern>\.git</exclude-pattern>
<exclude-pattern>vendor</exclude-pattern>
<exclude-pattern>tests</exclude-pattern>
<exclude-pattern>application/controllers/api/v1</exclude-pattern>
<rule ref="PSR2">
<exclude name="PSR1.Classes.ClassDeclaration" />