Skip to content

Commit

Permalink
PHPStan cleanup (Mockery update).
Browse files Browse the repository at this point in the history
(cherry picked from commit f11920e)
  • Loading branch information
LastDragon-ru committed May 26, 2024
1 parent 0612edf commit c8baa09
Showing 1 changed file with 0 additions and 25 deletions.
25 changes: 0 additions & 25 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@ parameters:
count: 1
path: packages/core/src/Observer/DispatcherTest.php

-
message: "#^Return type of call to static method Mockery\\:\\:spy\\(\\) contains unresolvable type\\.$#"
count: 2
path: packages/core/src/Observer/DispatcherTest.php

-
message: "#^Parameter \\#1 \\$offset of method LastDragon_ru\\\\LaraASP\\\\Eloquent\\\\Iterators\\\\IteratorImpl\\<TItem of Illuminate\\\\Database\\\\Eloquent\\\\Model\\>\\:\\:setOffset\\(\\) expects int\\|string\\|null, mixed given\\.$#"
count: 1
Expand All @@ -20,21 +15,11 @@ parameters:
count: 2
path: packages/eloquent/src/Iterators/ChunkedChangeSafeIteratorTest.php

-
message: "#^Return type of call to static method Mockery\\:\\:spy\\(\\) contains unresolvable type\\.$#"
count: 2
path: packages/eloquent/src/Iterators/ChunkedChangeSafeIteratorTest.php

-
message: "#^Call to an undefined method Mockery\\\\LegacyMockInterface\\:\\:once\\(\\)\\.$#"
count: 2
path: packages/eloquent/src/Iterators/ChunkedIteratorTest.php

-
message: "#^Return type of call to static method Mockery\\:\\:spy\\(\\) contains unresolvable type\\.$#"
count: 2
path: packages/eloquent/src/Iterators/ChunkedIteratorTest.php

-
message: "#^Method LastDragon_ru\\\\LaraASP\\\\Formatter\\\\Formatter\\:\\:getDefaultTimezone\\(\\) should return DateTimeZone\\|IntlTimeZone\\|string\\|null but returns mixed\\.$#"
count: 1
Expand Down Expand Up @@ -110,21 +95,11 @@ parameters:
count: 1
path: packages/testing/src/Mixins/TestResponseMixin.php

-
message: "#^Return type of call to static method Mockery\\:\\:spy\\(\\) contains unresolvable type\\.$#"
count: 1
path: packages/testing/src/Package/TestCase.php

-
message: "#^Parameter \\#1 \\$items of method LastDragon_ru\\\\LaraASP\\\\Testing\\\\Providers\\\\BaseDataProvider\\:\\:replaceExpectedValues\\(\\) expects array\\<array\\>, array\\<T\\> given\\.$#"
count: 1
path: packages/testing/src/Providers/TraversableDataProvider.php

-
message: "#^Return type of call to static method Mockery\\:\\:spy\\(\\) contains unresolvable type\\.$#"
count: 1
path: packages/testing/src/TestCase.php

-
message: "#^Method LastDragon_ru\\\\LaraASP\\\\Testing\\\\Utils\\\\Args\\:\\:getJson\\(\\) should return array\\|bool\\|float\\|int\\|stdClass\\|string\\|null but returns mixed\\.$#"
count: 1
Expand Down

0 comments on commit c8baa09

Please sign in to comment.