From deddcde0ddf97bc35647066387265a31bbed22d7 Mon Sep 17 00:00:00 2001 From: Sukhwinder Dhillon Date: Wed, 17 Jan 2024 13:32:36 +0100 Subject: [PATCH] phpstan: Relax unmatched ignore errors for certain messages --- phpstan.neon | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/phpstan.neon b/phpstan.neon index b3f86b05..b61aa70a 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -13,8 +13,11 @@ parameters: - library/Director ignoreErrors: - - '#Unsafe usage of new static\(\)#' - - '#. but return statement is missing#' + - + messages: + - '#Unsafe usage of new static\(\)#' + - '#. but return statement is missing#' + reportUnmatched: false scanDirectories: - /icingaweb2