Skip to content

Commit

Permalink
💚 Fix PHPStan
Browse files Browse the repository at this point in the history
  • Loading branch information
marcreichel committed Jul 1, 2024
1 parent fd61d95 commit af8fe5f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit af8fe5f

Please sign in to comment.