Skip to content

Use AttributeCollection instead of arrays #13

Use AttributeCollection instead of arrays

Use AttributeCollection instead of arrays #13

Triggered via push January 20, 2024 21:41
Status Success
Total duration 33s
Artifacts

psalm.yml

on: push
Matrix: psalm
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
DocblockTypeContradiction: src/Factory/ActivityStub.php#L100
src/Factory/ActivityStub.php:100:9: DocblockTypeContradiction: int does not contain null (see https://psalm.dev/155)
UndefinedVariable: src/Factory/WorkflowStub.php#L206
src/Factory/WorkflowStub.php:206:24: UndefinedVariable: Cannot find referenced variable $attributes (see https://psalm.dev/024)
MixedArgument: src/Factory/WorkflowStub.php#L206
src/Factory/WorkflowStub.php:206:24: MixedArgument: Argument 6 of Temporal\Sugar\Internal\RetryOptions::create cannot be mixed, expecting Temporal\Sugar\Attribute\RetryPolicy|null (see https://psalm.dev/030)
MixedMethodCall: src/Factory/WorkflowStub.php#L206
src/Factory/WorkflowStub.php:206:37: MixedMethodCall: Cannot determine the type of $attributes when calling method first (see https://psalm.dev/015)
MixedAssignment: src/Factory/WorkflowStub.php#L211
src/Factory/WorkflowStub.php:211:9: MixedAssignment: Unable to determine the type that $taskQueue is being assigned to (see https://psalm.dev/032)
UndefinedVariable: src/Factory/WorkflowStub.php#L211
src/Factory/WorkflowStub.php:211:24: UndefinedVariable: Cannot find referenced variable $attributes (see https://psalm.dev/024)
MixedPropertyFetch: src/Factory/WorkflowStub.php#L211
src/Factory/WorkflowStub.php:211:24: MixedPropertyFetch: Cannot fetch property on mixed var $__tmp_nullsafe__11617 (see https://psalm.dev/034)
MixedMethodCall: src/Factory/WorkflowStub.php#L211
src/Factory/WorkflowStub.php:211:37: MixedMethodCall: Cannot determine the type of $attributes when calling method first (see https://psalm.dev/015)
MixedArgument: src/Factory/WorkflowStub.php#L212
src/Factory/WorkflowStub.php:212:67: MixedArgument: Argument 1 of Temporal\Workflow\ChildWorkflowOptions::withTaskQueue cannot be mixed|non-empty-string, expecting string (see https://psalm.dev/030)
PossiblyInvalidArrayOffset: src/Internal/Attribute/AttributeCollection.php#L52
src/Internal/Attribute/AttributeCollection.php:52:29: PossiblyInvalidArrayOffset: Cannot access value on variable $this->attributes using a string offset, expecting class-string (see https://psalm.dev/116)
Psalm Validation (PHP 8.2, 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/