From f5ecae3739a1adebee20116738446add9f5e3ad0 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sun, 24 Sep 2023 14:19:20 +0000 Subject: [PATCH] fix tests --- Config/phpcs.xml | 2 +- Config/phpstan.neon | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Config/phpcs.xml b/Config/phpcs.xml index 7766d95..1130e7d 100755 --- a/Config/phpcs.xml +++ b/Config/phpcs.xml @@ -136,7 +136,6 @@ 3 - */Install/Media/* @@ -166,6 +165,7 @@ 3 + */Install/Media/* *Pdf.php *Excel.php */tests/* diff --git a/Config/phpstan.neon b/Config/phpstan.neon index 097ebe1..c127fe8 100755 --- a/Config/phpstan.neon +++ b/Config/phpstan.neon @@ -86,9 +86,15 @@ parameters: - message: '#.*has parameter \$con with no typehint specified#' path: *Ftp/File.php + - + message: '#.*Instantiated class .* WorkflowController not found.*#' + path: *pdf.php - message: '#.*Constant PDF_.*#' path: *pdf.php + - + message: '#.*DefaultPdf.*#' + path: *pdf.php - message: '#.*Cannot call method setId\(\) on mixed.*#' path: *View.php