Update Message with headers #2218
Annotations
5 errors and 1 warning
psalm:
src/Outbox/DoctrineOutboxStore.php#L114
src/Outbox/DoctrineOutboxStore.php:114:32: UndefinedMethod: Method Patchlevel\EventSourcing\EventBus\Message::customHeader does not exist (see https://psalm.dev/022)
|
psalm:
src/Store/DoctrineDbalStoreStream.php#L106
src/Store/DoctrineDbalStoreStream.php:106:66: InvalidArrayOffset: Cannot access value on variable $data using offset value of 'archived', expecting 'id', 'aggregate', 'aggregate_id', 'playhead', 'event', 'payload', 'recorded_on' or 'custom_headers' (see https://psalm.dev/115)
|
psalm:
src/Store/DoctrineDbalStoreStream.php#L107
src/Store/DoctrineDbalStoreStream.php:107:78: InvalidArrayOffset: Cannot access value on variable $data using offset value of 'new_stream_start', expecting 'id', 'aggregate', 'aggregate_id', 'playhead', 'event', 'payload', 'recorded_on' or 'custom_headers' (see https://psalm.dev/115)
|
psalm:
src/Store/DoctrineDbalStoreStream.php#L108
src/Store/DoctrineDbalStoreStream.php:108:31: ArgumentTypeCoercion: Argument 1 of Patchlevel\EventSourcing\EventBus\Message::withHeaders expects array{aggregateId?: string, aggregateName?: string, archived?: bool, newStreamStart?: bool, playhead?: int<1, max>, recordedOn?: DateTimeImmutable, ...<string, mixed>}, but parent type array<string, mixed> provided (see https://psalm.dev/193)
|
psalm
Process completed with exit code 2.
|
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/.
|
The logs for this run have expired and are no longer available.
Loading