Skip to content

Expose Workflow::upsertMemo() #324

Expose Workflow::upsertMemo()

Expose Workflow::upsertMemo() #324

Triggered via pull request February 7, 2025 10:06
Status Success
Total duration 44s
Artifacts

static-analysis.yml

on: pull_request
Matrix: Architecture tests
Matrix: psalm
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 2 warnings
MissingImmutableAnnotation: src/Internal/Transport/Request/UpsertMemo.php#L9
src/Internal/Transport/Request/UpsertMemo.php:9:13: MissingImmutableAnnotation: Temporal\Worker\Transport\Command\RequestInterface::withHeader is marked @psalm-external-mutation-free, but Temporal\Worker\Transport\Command\Common\RequestTrait::withHeader is not marked @psalm-external-mutation-free (see https://psalm.dev/213)
PossiblyFalseArgument: src/Internal/Transport/Router/StartWorkflow.php#L175
src/Internal/Transport/Router/StartWorkflow.php:175:17: PossiblyFalseArgument: Argument 1 of Temporal\Api\Common\V1\Memo::mergeFromJsonString cannot be false, possibly string value expected (see https://psalm.dev/104)
ArgumentTypeCoercion: src/Workflow.php#L913
src/Workflow.php:913:47: ArgumentTypeCoercion: Argument 1 of Temporal\Internal\Workflow\ScopeContext::upsertMemo expects array<non-empty-string, mixed>, but parent type array<string, mixed> provided (see https://psalm.dev/193)
Psalm Validation (PHP 8.3, OS ubuntu-latest)
Process completed with exit code 2.
Architecture tests (8.3, ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Psalm Validation (PHP 8.3, OS ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/