From b245e0c1b5a2034db164011aeb3c005721185edc Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Tue, 11 Apr 2023 00:20:12 +0200 Subject: [PATCH] fix static analysis --- Config/phpstan.neon | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Config/phpstan.neon b/Config/phpstan.neon index 9b8d582..c48d494 100755 --- a/Config/phpstan.neon +++ b/Config/phpstan.neon @@ -68,7 +68,10 @@ parameters: - '#.*Instantiated class .*PhpOffice\\.*#' - '#[.]*PhpOffice\\PhpSpreadsheet\\[.]*#' - '#.*Mapper.* should return.*#' + - '#.*::MODEL is not covariant with type class-string of constant phpOMS\\DataStorage\\Database\\Mapper\\DataMapperFactory::MODEL.*#' - '#.*l11nServer.* does not accept.*#' + - '#.*Call to an undefined method Default.*#' + - '#.*Access to an undefined property Default.*#' - message: '#.*has parameter \$con with no typehint specified#' path: *Ftp/File.php