Skip to content

use aggregate name in message to decouple components #2187

use aggregate name in message to decouple components

use aggregate name in message to decouple components #2187

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

psalm.yml

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

Annotations

10 errors and 1 warning
UndefinedMethod: src/Console/OutputStyle.php#L34
src/Console/OutputStyle.php:34:27: UndefinedMethod: Method Patchlevel\EventSourcing\EventBus\Message::aggregateClass does not exist (see https://psalm.dev/022)
TooManyArguments: tests/Benchmark/SimpleSetupBench.php#L50
tests/Benchmark/SimpleSetupBench.php:50:24: TooManyArguments: Too many arguments for Patchlevel\EventSourcing\Store\DoctrineDbalStore::__construct - expecting 3 but saw 4 (see https://psalm.dev/026)
InvalidArgument: tests/Benchmark/SimpleSetupBench.php#L53
tests/Benchmark/SimpleSetupBench.php:53:13: InvalidArgument: Argument 3 of Patchlevel\EventSourcing\Store\DoctrineDbalStore::__construct expects string, but Patchlevel\EventSourcing\Metadata\AggregateRoot\AggregateRootRegistry provided (see https://psalm.dev/004)
TooManyArguments: tests/Benchmark/SnapshotsBench.php#L56
tests/Benchmark/SnapshotsBench.php:56:24: TooManyArguments: Too many arguments for Patchlevel\EventSourcing\Store\DoctrineDbalStore::__construct - expecting 3 but saw 4 (see https://psalm.dev/026)
InvalidArgument: tests/Benchmark/SnapshotsBench.php#L59
tests/Benchmark/SnapshotsBench.php:59:13: InvalidArgument: Argument 3 of Patchlevel\EventSourcing\Store\DoctrineDbalStore::__construct expects string, but Patchlevel\EventSourcing\Metadata\AggregateRoot\AggregateRootRegistry provided (see https://psalm.dev/004)
TooManyArguments: tests/Benchmark/SplitStreamBench.php#L55
tests/Benchmark/SplitStreamBench.php:55:24: TooManyArguments: Too many arguments for Patchlevel\EventSourcing\Store\DoctrineDbalStore::__construct - expecting 3 but saw 4 (see https://psalm.dev/026)
InvalidArgument: tests/Benchmark/SplitStreamBench.php#L58
tests/Benchmark/SplitStreamBench.php:58:13: InvalidArgument: Argument 3 of Patchlevel\EventSourcing\Store\DoctrineDbalStore::__construct expects string, but Patchlevel\EventSourcing\Metadata\AggregateRoot\AggregateRootRegistry provided (see https://psalm.dev/004)
TooManyArguments: tests/Benchmark/SyncProjectionistBench.php#L58
tests/Benchmark/SyncProjectionistBench.php:58:24: TooManyArguments: Too many arguments for Patchlevel\EventSourcing\Store\DoctrineDbalStore::__construct - expecting 3 but saw 4 (see https://psalm.dev/026)
InvalidArgument: tests/Benchmark/SyncProjectionistBench.php#L61
tests/Benchmark/SyncProjectionistBench.php:61:13: InvalidArgument: Argument 3 of Patchlevel\EventSourcing\Store\DoctrineDbalStore::__construct expects string, but Patchlevel\EventSourcing\Metadata\AggregateRoot\AggregateRootRegistry provided (see https://psalm.dev/004)
TooManyArguments: tests/Benchmark/blackfire.php#L31
tests/Benchmark/blackfire.php:31:10: TooManyArguments: Too many arguments for Patchlevel\EventSourcing\Store\DoctrineDbalStore::__construct - expecting 3 but saw 4 (see https://psalm.dev/026)
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/.