mirror of
https://github.com/Karaka-Management/Build.git
synced 2026-01-11 03:38:40 +00:00
phpcs, static and unit test fixes
This commit is contained in:
parent
0373aa27e7
commit
2b6df9210e
|
|
@ -13,6 +13,7 @@
|
|||
<exclude-pattern>*/Documentation/*</exclude-pattern>
|
||||
<exclude-pattern>*/Hooks/*</exclude-pattern>
|
||||
<exclude-pattern>*/Modules/Media/Files/*</exclude-pattern>
|
||||
<exclude-pattern>*/Admin/Install/Application/*</exclude-pattern>
|
||||
<exclude-pattern>*/node_modules/*</exclude-pattern>
|
||||
<exclude-pattern>*/Resources/*</exclude-pattern>
|
||||
<exclude-pattern>*/Web/*</exclude-pattern>
|
||||
|
|
@ -105,6 +106,7 @@
|
|||
<exclude-pattern>*phpOMS/Message/Http/HttpRequest.php</exclude-pattern><!-- Multipart uses deep nesting -->
|
||||
<exclude-pattern>*WebRouter.php</exclude-pattern><!-- WebRouter uses deep nesting -->
|
||||
<exclude-pattern>*Mail.php</exclude-pattern><!-- Mail uses deep nesting -->
|
||||
<exclude-pattern>*Exchange/Interfaces*</exclude-pattern><!-- Exchange interfaces can be deeply nested -->
|
||||
</rule>
|
||||
<rule ref="Generic.PHP.RequireStrictTypes"/>
|
||||
<rule ref="Generic.NamingConventions.ConstructorName"/>
|
||||
|
|
|
|||
|
|
@ -43,6 +43,7 @@ parameters:
|
|||
- */Modules/Organization/Controller/BackendController.php
|
||||
- *Model/CoreSettings.php
|
||||
ignoreErrors:
|
||||
- '#[.]*separator of function explode expects non-empty-string[.]*#'
|
||||
- '#[.]*PhpOffice\\PhpSpreadsheet\\[.]*#'
|
||||
- '#^Call to an undefined method phpOMS\\Module\\ModuleAbstract::[.]*#'
|
||||
- '#^Strict comparison using === between[.]*#'
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user