diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index b7a8d7e..a987bfd 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -1,5 +1,10 @@ parameters: ignoreErrors: + - + message: "#^Unable to resolve the template type TMapValue in call to method Illuminate\\\\Support\\\\Collection\\<\\(int\\|string\\),mixed\\>\\:\\:map\\(\\)$#" + count: 1 + path: src/Models/Model.php + - message: "#^Cannot call method assertExitCode\\(\\) on Illuminate\\\\Testing\\\\PendingCommand\\|int\\.$#" count: 12 diff --git a/phpstan.neon b/phpstan.neon index d6626bd..6c9a47f 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -13,5 +13,5 @@ parameters: - '#Call to an undefined static method MarcReichel\\IGDBLaravel\\Models\\Game::foo\(\).#' - '#Unable to resolve the template type TValue in call to function collect#' - '#Unable to resolve the template type TKey in call to function collect#' - checkMissingIterableValueType: false - checkGenericClassInNonGenericObjectType: false + - identifier: missingType.iterableValue + - identifier: missingType.generics