Skip to content

Commit af8fe5f

Browse files
committed
💚 Fix PHPStan
1 parent fd61d95 commit af8fe5f

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

phpstan-baseline.neon

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
parameters:
22
ignoreErrors:
3+
-
4+
message: "#^Unable to resolve the template type TMapValue in call to method Illuminate\\\\Support\\\\Collection\\<\\(int\\|string\\),mixed\\>\\:\\:map\\(\\)$#"
5+
count: 1
6+
path: src/Models/Model.php
7+
38
-
49
message: "#^Cannot call method assertExitCode\\(\\) on Illuminate\\\\Testing\\\\PendingCommand\\|int\\.$#"
510
count: 12

phpstan.neon

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ parameters:
1313
- '#Call to an undefined static method MarcReichel\\IGDBLaravel\\Models\\Game::foo\(\).#'
1414
- '#Unable to resolve the template type TValue in call to function collect#'
1515
- '#Unable to resolve the template type TKey in call to function collect#'
16-
checkMissingIterableValueType: false
17-
checkGenericClassInNonGenericObjectType: false
16+
- identifier: missingType.iterableValue
17+
- identifier: missingType.generics

0 commit comments

Comments
 (0)