Skip to content

Setup psalm error level 1 #902

Setup psalm error level 1

Setup psalm error level 1 #902

Triggered via pull request November 25, 2023 08:58
@s1lvers1lver
synchronize #176
psalm_level_1
Status Failure
Total duration 36s
Artifacts

static.yml

on: pull_request
Matrix: psalm / psalm
Fit to window
Zoom out
Zoom in

Annotations

32 errors
MixedArgument: src/Adapter/SynchronousAdapter.php#L39
src/Adapter/SynchronousAdapter.php:39:40: MixedArgument: Argument 1 cannot be mixed, expecting Yiisoft\Yii\Queue\Message\MessageInterface (see https://psalm.dev/030)
MixedArrayAssignment: src/Debug/QueueCollector.php#L61
src/Debug/QueueCollector.php:61:9: MixedArrayAssignment: Cannot access array value on mixed variable $this->pushes[$channel] (see https://psalm.dev/117)
MixedArrayAssignment: src/Debug/QueueCollector.php#L72
src/Debug/QueueCollector.php:72:9: MixedArrayAssignment: Cannot access array value on mixed variable $this->processingMessages[string] (see https://psalm.dev/117)
MixedInferredReturnType: src/Middleware/Consume/MiddlewareConsumeStack.php#L65
src/Middleware/Consume/MiddlewareConsumeStack.php:65:69: MixedInferredReturnType: Could not verify return type 'Yiisoft\Yii\Queue\Middleware\Consume\ConsumeRequest' for _home_runner_work_yii_queue_yii_queue_src_Middleware_Consume_MiddlewareConsumeStack_php_56_1497::handleConsume (see https://psalm.dev/047)
MixedAssignment: src/Middleware/Consume/MiddlewareConsumeStack.php#L68
src/Middleware/Consume/MiddlewareConsumeStack.php:68:21: MixedAssignment: Unable to determine the type that $this->middleware is being assigned to (see https://psalm.dev/032)
MixedReturnStatement: src/Middleware/Consume/MiddlewareConsumeStack.php#L71
src/Middleware/Consume/MiddlewareConsumeStack.php:71:24: MixedReturnStatement: Possibly-mixed return value (see https://psalm.dev/138)
MixedReturnStatement: src/Middleware/Consume/MiddlewareConsumeStack.php#L71
src/Middleware/Consume/MiddlewareConsumeStack.php:71:24: MixedReturnStatement: Could not infer a return type (see https://psalm.dev/138)
MixedMethodCall: src/Middleware/Consume/MiddlewareConsumeStack.php#L71
src/Middleware/Consume/MiddlewareConsumeStack.php:71:43: MixedMethodCall: Cannot determine the type of $this->middleware when calling method processConsume (see https://psalm.dev/015)
MixedAssignment: src/Middleware/Consume/MiddlewareFactoryConsume.php#L78
src/Middleware/Consume/MiddlewareFactoryConsume.php:78:13: MixedAssignment: Unable to determine the type that $middleware is being assigned to (see https://psalm.dev/032)
MixedAssignment: src/Middleware/Consume/MiddlewareFactoryConsume.php#L99
src/Middleware/Consume/MiddlewareFactoryConsume.php:99:17: MixedAssignment: Unable to determine the type that $response is being assigned to (see https://psalm.dev/032)
psalm / PHP 8.1-ubuntu-latest
The job was canceled because "ubuntu-latest_8_2" failed.
MixedArgument: src/Adapter/SynchronousAdapter.php#L39
src/Adapter/SynchronousAdapter.php:39:40: MixedArgument: Argument 1 cannot be mixed, expecting Yiisoft\Yii\Queue\Message\MessageInterface (see https://psalm.dev/030)
MixedArrayAssignment: src/Debug/QueueCollector.php#L61
src/Debug/QueueCollector.php:61:9: MixedArrayAssignment: Cannot access array value on mixed variable $this->pushes[$channel] (see https://psalm.dev/117)
MixedArrayAssignment: src/Debug/QueueCollector.php#L72
src/Debug/QueueCollector.php:72:9: MixedArrayAssignment: Cannot access array value on mixed variable $this->processingMessages[string] (see https://psalm.dev/117)
MixedInferredReturnType: src/Middleware/Consume/MiddlewareConsumeStack.php#L65
src/Middleware/Consume/MiddlewareConsumeStack.php:65:69: MixedInferredReturnType: Could not verify return type 'Yiisoft\Yii\Queue\Middleware\Consume\ConsumeRequest' for _home_runner_work_yii_queue_yii_queue_src_Middleware_Consume_MiddlewareConsumeStack_php_56_1497::handleConsume (see https://psalm.dev/047)
MixedAssignment: src/Middleware/Consume/MiddlewareConsumeStack.php#L68
src/Middleware/Consume/MiddlewareConsumeStack.php:68:21: MixedAssignment: Unable to determine the type that $this->middleware is being assigned to (see https://psalm.dev/032)
MixedReturnStatement: src/Middleware/Consume/MiddlewareConsumeStack.php#L71
src/Middleware/Consume/MiddlewareConsumeStack.php:71:24: MixedReturnStatement: Possibly-mixed return value (see https://psalm.dev/138)
MixedReturnStatement: src/Middleware/Consume/MiddlewareConsumeStack.php#L71
src/Middleware/Consume/MiddlewareConsumeStack.php:71:24: MixedReturnStatement: Could not infer a return type (see https://psalm.dev/138)
MixedMethodCall: src/Middleware/Consume/MiddlewareConsumeStack.php#L71
src/Middleware/Consume/MiddlewareConsumeStack.php:71:43: MixedMethodCall: Cannot determine the type of $this->middleware when calling method processConsume (see https://psalm.dev/015)
MixedAssignment: src/Middleware/Consume/MiddlewareFactoryConsume.php#L78
src/Middleware/Consume/MiddlewareFactoryConsume.php:78:13: MixedAssignment: Unable to determine the type that $middleware is being assigned to (see https://psalm.dev/032)
MixedAssignment: src/Middleware/Consume/MiddlewareFactoryConsume.php#L99
src/Middleware/Consume/MiddlewareFactoryConsume.php:99:17: MixedAssignment: Unable to determine the type that $response is being assigned to (see https://psalm.dev/032)
psalm / PHP 8.0-ubuntu-latest
The job was canceled because "ubuntu-latest_8_2" failed.
MixedArgument: src/Adapter/SynchronousAdapter.php#L39
src/Adapter/SynchronousAdapter.php:39:40: MixedArgument: Argument 1 cannot be mixed, expecting Yiisoft\Yii\Queue\Message\MessageInterface (see https://psalm.dev/030)
MixedArrayAssignment: src/Debug/QueueCollector.php#L61
src/Debug/QueueCollector.php:61:9: MixedArrayAssignment: Cannot access array value on mixed variable $this->pushes[$channel] (see https://psalm.dev/117)
MixedArrayAssignment: src/Debug/QueueCollector.php#L72
src/Debug/QueueCollector.php:72:9: MixedArrayAssignment: Cannot access array value on mixed variable $this->processingMessages[string] (see https://psalm.dev/117)
MixedInferredReturnType: src/Middleware/Consume/MiddlewareConsumeStack.php#L65
src/Middleware/Consume/MiddlewareConsumeStack.php:65:69: MixedInferredReturnType: Could not verify return type 'Yiisoft\Yii\Queue\Middleware\Consume\ConsumeRequest' for _home_runner_work_yii_queue_yii_queue_src_Middleware_Consume_MiddlewareConsumeStack_php_56_1497::handleConsume (see https://psalm.dev/047)
MixedAssignment: src/Middleware/Consume/MiddlewareConsumeStack.php#L68
src/Middleware/Consume/MiddlewareConsumeStack.php:68:21: MixedAssignment: Unable to determine the type that $this->middleware is being assigned to (see https://psalm.dev/032)
MixedReturnStatement: src/Middleware/Consume/MiddlewareConsumeStack.php#L71
src/Middleware/Consume/MiddlewareConsumeStack.php:71:24: MixedReturnStatement: Possibly-mixed return value (see https://psalm.dev/138)
MixedMethodCall: src/Middleware/Consume/MiddlewareConsumeStack.php#L71
src/Middleware/Consume/MiddlewareConsumeStack.php:71:43: MixedMethodCall: Cannot determine the type of $this->middleware when calling method processConsume (see https://psalm.dev/015)
MixedAssignment: src/Middleware/Consume/MiddlewareFactoryConsume.php#L78
src/Middleware/Consume/MiddlewareFactoryConsume.php:78:13: MixedAssignment: Unable to determine the type that $middleware is being assigned to (see https://psalm.dev/032)
MixedAssignment: src/Middleware/Consume/MiddlewareFactoryConsume.php#L99
src/Middleware/Consume/MiddlewareFactoryConsume.php:99:17: MixedAssignment: Unable to determine the type that $response is being assigned to (see https://psalm.dev/032)
MixedArgumentTypeCoercion: src/Middleware/Consume/MiddlewareFactoryConsume.php#L144
src/Middleware/Consume/MiddlewareFactoryConsume.php:144:55: MixedArgumentTypeCoercion: Argument 1 of Yiisoft\Definitions\ArrayDefinition::fromConfig expects array{'__construct()'?: array<array-key, mixed>, class: class-string}<string, mixed>, but parent type array<array-key, mixed> provided (see https://psalm.dev/194)