mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-01 12:19:28 +00:00
- Added excluded directories to PHPMD and PHPCS rule sets
- Added testing file for Lint
This commit is contained in:
@@ -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" />
|
||||
|
||||
Reference in New Issue
Block a user