Skip to content

Convert values to forType->setType with update DTO as the result #216

Convert values to forType->setType with update DTO as the result

Convert values to forType->setType with update DTO as the result #216

Triggered via push December 27, 2024 12:00
Status Success
Total duration 36s
Artifacts
Matrix: Architecture tests
Matrix: psalm
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 4 warnings
ArgumentTypeCoercion: src/Common/SearchAttributes/SearchAttributeKey.php#L71
src/Common/SearchAttributes/SearchAttributeKey.php:71:34: ArgumentTypeCoercion: Argument 1 of Temporal\Common\SearchAttributes\SearchAttributeKey\DatetimeValue::__construct expects non-empty-string, but parent type string provided (see https://psalm.dev/193)
InvalidReturnType: src/Common/SearchAttributes/SearchAttributeKey.php#L82
src/Common/SearchAttributes/SearchAttributeKey.php:82:35: InvalidReturnType: Not all code paths of Temporal\Common\SearchAttributes\SearchAttributeKey::valueUnset end in a return statement, return type Temporal\Common\SearchAttributes\SearchAttributeUpdate expected (see https://psalm.dev/011)
ImpureMethodCall: src/Common/SearchAttributes/SearchAttributeKey.php#L85
src/Common/SearchAttributes/SearchAttributeKey.php:85:39: ImpureMethodCall: Cannot call a possibly-mutating method from a mutation-free context (see https://psalm.dev/203)
MismatchingDocblockParamType: src/Common/SearchAttributes/SearchAttributeKey/KeywordListValue.php#L23
src/Common/SearchAttributes/SearchAttributeKey/KeywordListValue.php:23:15: MismatchingDocblockParamType: Parameter $value has wrong type 'iterable<mixed, Stringable|string>', should be 'array<array-key, mixed>' (see https://psalm.dev/141)
InvalidDocblock: src/Common/SearchAttributes/SearchAttributeUpdate.php#L14
src/Common/SearchAttributes/SearchAttributeUpdate.php:14:1: InvalidDocblock: @template-extends must include the name of an extended class, got Temporal\Common\SearchAttributes\SearchAttributeKey<string> (see https://psalm.dev/008)
ArgumentTypeCoercion: src/Common/SearchAttributes/SearchAttributeUpdate.php#L26
src/Common/SearchAttributes/SearchAttributeUpdate.php:26:29: ArgumentTypeCoercion: Argument 1 of Temporal\Common\SearchAttributes\SearchAttributeUpdate\ValueSet::__construct expects non-empty-string, but parent type string provided (see https://psalm.dev/193)
ArgumentTypeCoercion: src/Common/SearchAttributes/SearchAttributeUpdate.php#L31
src/Common/SearchAttributes/SearchAttributeUpdate.php:31:31: ArgumentTypeCoercion: Argument 1 of Temporal\Common\SearchAttributes\SearchAttributeUpdate\ValueUnset::__construct expects non-empty-string, but parent type string provided (see https://psalm.dev/193)
InvalidDocblock: src/Common/SearchAttributes/SearchAttributeUpdate/ValueSet.php#L15
src/Common/SearchAttributes/SearchAttributeUpdate/ValueSet.php:15:1: InvalidDocblock: @template-extends must include the name of an extended class, got Temporal\Common\SearchAttributes\SearchAttributeKey<string> (see https://psalm.dev/008)
InvalidDocblock: src/Common/SearchAttributes/SearchAttributeUpdate/ValueUnset.php#L14
src/Common/SearchAttributes/SearchAttributeUpdate/ValueUnset.php:14:1: InvalidDocblock: @template-extends must include the name of an extended class, got Temporal\Common\SearchAttributes\SearchAttributeKey<string> (see https://psalm.dev/008)
UndefinedClass: src/Workflow/WorkflowInfo.php#L113
src/Workflow/WorkflowInfo.php:113:12: UndefinedClass: Class, interface or enum named Temporal\Common\TypedSearchAttributes does not exist (see https://psalm.dev/019)
Architecture tests (8.3, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
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)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
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/