diff --git a/phpstan.neon b/phpstan.neon index a0c1029..10b732a 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -8,7 +8,11 @@ parameters: - vendor ignoreErrors: - - '#Unsafe usage of new static\(\)#' + - + messages: + - '#Unsafe usage of new static\(\)#' + - '#. but return statement is missing#' + reportUnmatched: false - '#Method ipl\\Scheduler\\.*::getNextDue\(\) .* but returns DateTimeInterface\|null#'