Skip to content

Update OutboxStore schema, extract MessageSerializer from WatchServer #2202

Update OutboxStore schema, extract MessageSerializer from WatchServer

Update OutboxStore schema, extract MessageSerializer from WatchServer #2202

Triggered via pull request February 6, 2024 17:07
Status Failure
Total duration 31s
Artifacts

psalm.yml

on: pull_request
Matrix: Static Analysis by Psalm
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 1 warning
MixedInferredReturnType: src/EventBus/Serializer/PhpNativeMessageSerializer.php#L21
src/EventBus/Serializer/PhpNativeMessageSerializer.php:21:51: MixedInferredReturnType: Could not verify return type 'Patchlevel\EventSourcing\EventBus\Message' for Patchlevel\EventSourcing\EventBus\Serializer\PhpNativeMessageSerializer::deserialize (see https://psalm.dev/047)
MixedReturnStatement: src/EventBus/Serializer/PhpNativeMessageSerializer.php#L23
src/EventBus/Serializer/PhpNativeMessageSerializer.php:23:16: MixedReturnStatement: Could not infer a return type (see https://psalm.dev/138)
MixedAssignment: src/Outbox/DoctrineOutboxStore.php#L74
src/Outbox/DoctrineOutboxStore.php:74:21: MixedAssignment: Unable to determine the type that $id is being assigned to (see https://psalm.dev/032)
Static Analysis by Psalm (locked, 8.3, ubuntu-latest)
Process completed with exit code 2.
Static Analysis by Psalm (locked, 8.3, ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.