Skip to content

Commit

Permalink
Tools update (PHPStan v1.10.64).
Browse files Browse the repository at this point in the history
  • Loading branch information
LastDragon-ru committed Mar 22, 2024
1 parent ce80ae2 commit e40a945
Show file tree
Hide file tree
Showing 5 changed files with 1,252 additions and 770 deletions.
40 changes: 0 additions & 40 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
parameters:
ignoreErrors:
-
message: "#^Parameter \\#2 \\.\\.\\.\\$args of static method Mockery\\:\\:mock\\(\\) expects class\\-string\\<LastDragon_ru\\\\LaraASP\\\\Core\\\\Helpers\\\\Viewer\\>\\|LastDragon_ru\\\\LaraASP\\\\Core\\\\Helpers\\\\Viewer, array\\<int, \\(Illuminate\\\\Contracts\\\\View\\\\Factory&Mockery\\\\MockInterface\\)\\|\\(LastDragon_ru\\\\LaraASP\\\\Core\\\\Helpers\\\\Translator&Mockery\\\\MockInterface\\)\\|string\\> given\\.$#"
count: 1
path: packages/core/src/Helpers/ViewerTest.php

-
message: "#^Call to an undefined method Mockery\\\\LegacyMockInterface\\:\\:once\\(\\)\\.$#"
count: 1
Expand All @@ -15,11 +10,6 @@ parameters:
count: 2
path: packages/core/src/Observer/DispatcherTest.php

-
message: "#^Parameter \\#2 \\.\\.\\.\\$args of static method Mockery\\:\\:mock\\(\\) expects class\\-string\\<DateTime\\>\\|DateTime, array\\<int, string\\> given\\.$#"
count: 1
path: packages/eloquent/src/Concerns/WithDateSerializationTest.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 Down Expand Up @@ -50,31 +40,6 @@ parameters:
count: 1
path: packages/formatter/src/Formatter.php

-
message: "#^Parameter \\#2 \\.\\.\\.\\$args of static method Mockery\\:\\:mock\\(\\) expects class\\-string\\<LastDragon_ru\\\\LaraASP\\\\GraphQLPrinter\\\\Blocks\\\\BlockTest__Block\\>\\|LastDragon_ru\\\\LaraASP\\\\GraphQLPrinter\\\\Blocks\\\\BlockTest__Block, array\\<int, LastDragon_ru\\\\LaraASP\\\\GraphQLPrinter\\\\Misc\\\\Context\\> given\\.$#"
count: 1
path: packages/graphql-printer/src/Blocks/BlockTest.php

-
message: "#^Parameter \\#2 \\.\\.\\.\\$args of static method Mockery\\:\\:mock\\(\\) expects class\\-string\\<LastDragon_ru\\\\LaraASP\\\\GraphQL\\\\Stream\\\\Directives\\\\Directive\\>\\|LastDragon_ru\\\\LaraASP\\\\GraphQL\\\\Stream\\\\Directives\\\\Directive, array\\<int, LastDragon_ru\\\\LaraASP\\\\GraphQL\\\\Stream\\\\Contracts\\\\StreamFactory&Mockery\\\\MockInterface\\> given\\.$#"
count: 2
path: packages/graphql/src/Stream/Directives/DirectiveTest.php

-
message: "#^Parameter \\#2 \\.\\.\\.\\$args of static method Mockery\\:\\:mock\\(\\) expects class\\-string\\<LastDragon_ru\\\\LaraASP\\\\GraphQL\\\\Stream\\\\Directives\\\\Directive\\>\\|LastDragon_ru\\\\LaraASP\\\\GraphQL\\\\Stream\\\\Directives\\\\Directive, array\\<int, LastDragon_ru\\\\LaraASP\\\\GraphQL\\\\Stream\\\\Contracts\\\\StreamFactory\\> given\\.$#"
count: 3
path: packages/graphql/src/Stream/Directives/DirectiveTest.php

-
message: "#^Parameter \\#2 \\.\\.\\.\\$args of static method Mockery\\:\\:mock\\(\\) expects class\\-string\\<LastDragon_ru\\\\LaraASP\\\\GraphQL\\\\Stream\\\\Streams\\\\Database\\>\\|LastDragon_ru\\\\LaraASP\\\\GraphQL\\\\Stream\\\\Streams\\\\Database, array\\<int, Illuminate\\\\Database\\\\Eloquent\\\\Builder\\<LastDragon_ru\\\\LaraASP\\\\GraphQL\\\\Testing\\\\Package\\\\Data\\\\Models\\\\TestObject\\>\\|int\\|LastDragon_ru\\\\LaraASP\\\\GraphQL\\\\Stream\\\\Offset\\|string\\> given\\.$#"
count: 1
path: packages/graphql/src/Stream/Streams/DatabaseTest.php

-
message: "#^Parameter \\#2 \\.\\.\\.\\$args of static method Mockery\\:\\:mock\\(\\) expects class\\-string\\<LastDragon_ru\\\\LaraASP\\\\GraphQL\\\\Stream\\\\Streams\\\\Scout\\>\\|LastDragon_ru\\\\LaraASP\\\\GraphQL\\\\Stream\\\\Streams\\\\Scout, array\\<int, int\\|Laravel\\\\Scout\\\\Builder\\|LastDragon_ru\\\\LaraASP\\\\GraphQL\\\\Stream\\\\Offset\\|string\\> given\\.$#"
count: 3
path: packages/graphql/src/Stream/Streams/ScoutTest.php

-
message: "#^Method LastDragon_ru\\\\LaraASP\\\\GraphQL\\\\Testing\\\\Package\\\\Models\\\\Image\\:\\:imageable\\(\\) should return Illuminate\\\\Database\\\\Eloquent\\\\Relations\\\\MorphTo\\<LastDragon_ru\\\\LaraASP\\\\GraphQL\\\\Testing\\\\Package\\\\Models\\\\Role\\|LastDragon_ru\\\\LaraASP\\\\GraphQL\\\\Testing\\\\Package\\\\Models\\\\User, LastDragon_ru\\\\LaraASP\\\\GraphQL\\\\Testing\\\\Package\\\\Models\\\\Image\\> but returns Illuminate\\\\Database\\\\Eloquent\\\\Relations\\\\MorphTo\\<Illuminate\\\\Database\\\\Eloquent\\\\Model, LastDragon_ru\\\\LaraASP\\\\GraphQL\\\\Testing\\\\Package\\\\Models\\\\Image\\>\\.$#"
count: 1
Expand Down Expand Up @@ -150,11 +115,6 @@ parameters:
count: 1
path: packages/testing/src/Providers/TraversableDataProvider.php

-
message: "#^Parameter \\#2 \\.\\.\\.\\$args of static method Mockery\\:\\:mock\\(\\) expects class\\-string\\<LastDragon_ru\\\\LaraASP\\\\Testing\\\\Requirements\\\\PhpUnit\\\\Listener\\>\\|LastDragon_ru\\\\LaraASP\\\\Testing\\\\Requirements\\\\PhpUnit\\\\Listener, array\\<int, LastDragon_ru\\\\LaraASP\\\\Testing\\\\Requirements\\\\PhpUnit\\\\Checker&Mockery\\\\MockInterface\\> given\\.$#"
count: 1
path: packages/testing/src/Requirements/PhpUnit/ListenerTest.php

-
message: "#^Return type of call to static method Mockery\\:\\:spy\\(\\) contains unresolvable type\\.$#"
count: 1
Expand Down
177 changes: 55 additions & 122 deletions vendor-bin/composer-require-checker/composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit e40a945

Please sign in to comment.