From 876e026fd0db17f694323e253ace58a6ffe90d87 Mon Sep 17 00:00:00 2001 From: philipp lang Date: Sat, 12 Feb 2022 16:46:36 +0100 Subject: [PATCH] Add phpstan --- phpstan.neon | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/phpstan.neon b/phpstan.neon index f85aab6..9adc415 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -9,3 +9,10 @@ parameters: # The level 8 is the highest level level: 6 + + ignoreErrors: + - '#Call to an undefined method Illuminate\\Contracts\\Auth\\Authenticatable::api\(\)#' + - '#Call to an undefined method Illuminate\\Contracts\\Auth\\Authenticatable::getNamiGroupId\(\)#' + - '#Illuminate\\Contracts\\Auth\\Authenticatable\|null given#' + + checkMissingIterableValueType: false