From 2b6df9210e280229915bd7ea4bd3fa02224faa9f Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sun, 3 Oct 2021 09:16:46 +0200 Subject: [PATCH] phpcs, static and unit test fixes --- Config/phpcs.xml | 2 ++ Config/phpstan.neon | 1 + 2 files changed, 3 insertions(+) diff --git a/Config/phpcs.xml b/Config/phpcs.xml index 3d956ce..06f3ac7 100755 --- a/Config/phpcs.xml +++ b/Config/phpcs.xml @@ -13,6 +13,7 @@ */Documentation/* */Hooks/* */Modules/Media/Files/* +*/Admin/Install/Application/* */node_modules/* */Resources/* */Web/* @@ -105,6 +106,7 @@ *phpOMS/Message/Http/HttpRequest.php *WebRouter.php *Mail.php + *Exchange/Interfaces* diff --git a/Config/phpstan.neon b/Config/phpstan.neon index b92ad07..cf5b35b 100755 --- a/Config/phpstan.neon +++ b/Config/phpstan.neon @@ -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[.]*#'