diff --git a/phpstan.neon b/phpstan.neon index 129a7b27..86e819f4 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -16,6 +16,12 @@ parameters: - vendor ignoreErrors: + - + messages: + - '#Unsafe usage of new static\(\)#' + - '#. but return statement is missing#' + reportUnmatched: false + - '#Call to an undefined method React\\Promise#' - '#Call to an undefined method Icinga\\Application\\ApplicationBootstrap::getRequest\(\)#' @@ -24,8 +30,6 @@ parameters: - '#Access to an undefined property React\\Socket\\ConnectionInterface::\$stream#' - - '#.* but return statement is missing#' - - '#Binary operation .* between GMP and .* results in an error#' universalObjectCratesClasses: