Skip to content

Update dependency psalm/plugin-mockery to v1 #297

Update dependency psalm/plugin-mockery to v1

Update dependency psalm/plugin-mockery to v1 #297

Triggered via push December 12, 2023 13:55
Status Failure
Total duration 1m 57s
Artifacts
ci  /  Generate job matrix
6s
ci / Generate job matrix
Matrix: ci / QA Checks
Fit to window
Zoom out
Zoom in

Annotations

10 errors
InvalidArgument: test/CreateHandler/CreateHandlerCommandTest.php#L247
test/CreateHandler/CreateHandlerCommandTest.php:247:29: InvalidArgument: Argument 1 of PHPUnit\Framework\MockObject\Builder\InvocationMocker::willReturnMap expects array<int, array<int, mixed>>, but list{array{'without-template': false}, list{'with-template-namespace', null}, list{'with-template-name', null}, list{'with-template-extension', null}, list{'no-factory', false}, list{'no-register', false}} provided (see https://psalm.dev/004)
InternalClass: test/Factory/CreateFactoryCommandTest.php#L42
test/Factory/CreateFactoryCommandTest.php:42:13: InternalClass: Mezzio\Tooling\Factory\Create is internal to Mezzio but called from MezzioTest\Tooling\Factory\CreateFactoryCommandTest (see https://psalm.dev/174)
InternalMethod: test/Factory/CreateFactoryCommandTest.php#L42
test/Factory/CreateFactoryCommandTest.php:42:13: InternalMethod: Constructor Mezzio\Tooling\Factory\Create::__construct is internal to Mezzio and Mezzio but called from MezzioTest\Tooling\Factory\CreateFactoryCommandTest::setUp (see https://psalm.dev/175)
InternalClass: test/Factory/CreateFactoryCommandTest.php#L42
test/Factory/CreateFactoryCommandTest.php:42:24: InternalClass: Mezzio\Tooling\Factory\FactoryClassGenerator is internal to Mezzio but called from MezzioTest\Tooling\Factory\CreateFactoryCommandTest (see https://psalm.dev/174)
MixedInferredReturnType: test/MigrateInteropMiddleware/MigrateInteropMiddlewareCommandTest.php#L64
test/MigrateInteropMiddleware/MigrateInteropMiddlewareCommandTest.php:64:8: MixedInferredReturnType: Could not verify return type 'scalar' for MezzioTest\Tooling\MigrateInteropMiddleware\MigrateInteropMiddlewareCommandTest::getConstantValue (see https://psalm.dev/047)
ArgumentTypeCoercion: test/MigrateInteropMiddleware/MigrateInteropMiddlewareCommandTest.php#L65
test/MigrateInteropMiddleware/MigrateInteropMiddlewareCommandTest.php:65:34: ArgumentTypeCoercion: Argument 1 of ReflectionClass::__construct expects class-string|object|trait-string, but parent type string provided (see https://psalm.dev/193)
MixedReturnStatement: test/MigrateInteropMiddleware/MigrateInteropMiddlewareCommandTest.php#L67
test/MigrateInteropMiddleware/MigrateInteropMiddlewareCommandTest.php:67:16: MixedReturnStatement: Could not infer a return type (see https://psalm.dev/138)
ArgumentTypeCoercion: test/MigrateMiddlewareToRequestHandler/MigrateMiddlewareToRequestHandlerCommandTest.php#L66
test/MigrateMiddlewareToRequestHandler/MigrateMiddlewareToRequestHandlerCommandTest.php:66:34: ArgumentTypeCoercion: Argument 1 of ReflectionClass::__construct expects class-string|object|trait-string, but parent type string provided (see https://psalm.dev/193)
MixedInferredReturnType: test/Module/CreateCommandTest.php#L66
test/Module/CreateCommandTest.php:66:70: MixedInferredReturnType: Could not verify return type 'ArrayObject|array<array-key, mixed>' for MezzioTest\Tooling\Module\CreateCommandTest::createConfig (see https://psalm.dev/047)
MixedAssignment: test/Module/CreateCommandTest.php#L69
test/Module/CreateCommandTest.php:69:9: MixedAssignment: Unable to determine the type that $config is being assigned to (see https://psalm.dev/032)