diff --git a/phpstan.neon b/phpstan.neon index c6be40ce7139..e426a63268c0 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -4,8 +4,8 @@ includes: parameters: ignoreErrors: - '#Call to an undefined method .*badMethod\(\)#' - - 'Call to an undefined method Illuminate\Database\Eloquent\Builder::exclude(). - level: 2 + - '#Call to an undefined method Illuminate\Database\Eloquent\Builder::exclude#' + level: 4 paths: - app universalObjectCratesClasses: