From b1025c6745896ecb05cd8e90a98fb2ec52e70e97 Mon Sep 17 00:00:00 2001 From: Sukhwinder Dhillon Date: Wed, 23 Aug 2023 15:52:20 +0200 Subject: [PATCH] phpstan: Don't report errors that we do not acknowledge as errors --- phpstan.neon | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/phpstan.neon b/phpstan.neon index d4fbc54..8197570 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -16,7 +16,11 @@ parameters: - vendor ignoreErrors: - - '#Unsafe usage of new static\(\)#' + - + messages: + - '#Unsafe usage of new static\(\)#' + - '#. but return statement is missing#' + reportUnmatched: false universalObjectCratesClasses: - Icinga\Web\View