Skip to content

chore(deps): Update PHPStan packages to v2 #214

chore(deps): Update PHPStan packages to v2

chore(deps): Update PHPStan packages to v2 #214

Triggered via pull request November 21, 2025 01:04
Status Failure
Total duration 16s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: tests/Unit/EventStoreForDynamoDbTest.php#L97
Instanceof between J5ik2o\EventStoreAdapterPhp\Tests\UserAccount and J5ik2o\EventStoreAdapterPhp\Tests\UserAccount will always evaluate to true.
lint: src/Internal/EventStoreSupport.php#L431
Cannot cast mixed to int.
lint: src/Internal/EventStoreSupport.php#L430
Instanceof between J5ik2o\EventStoreAdapterPhp\Aggregate and J5ik2o\EventStoreAdapterPhp\Aggregate will always evaluate to true.
lint: src/Internal/EventStoreSupport.php#L429
Parameter #1 $payload of method J5ik2o\EventStoreAdapterPhp\Internal\EventStoreSupport::convertToSnapshot() expects string, mixed given.
lint: src/Internal/EventStoreSupport.php#L428
Cannot access offset 'payload' on mixed.
lint: src/Internal/EventStoreSupport.php#L428
Cannot access offset 'S' on mixed.
lint: src/Internal/EventStoreSupport.php#L427
Cannot access offset 'version' on mixed.
lint: src/Internal/EventStoreSupport.php#L427
Cannot access offset 'N' on mixed.
lint: src/DefaultSnapshotSerializer.php#L27
Method J5ik2o\EventStoreAdapterPhp\DefaultSnapshotSerializer::deserialize() should return array<string, object> but returns array<mixed, mixed>.
lint: src/DefaultEventSerializer.php#L27
Method J5ik2o\EventStoreAdapterPhp\DefaultEventSerializer::deserialize() should return array<string, object> but returns array<mixed, mixed>.