Skip to content

Header as Interface #2634

Header as Interface

Header as Interface #2634

Triggered via pull request March 18, 2024 10:47
Status Failure
Total duration 41s
Artifacts

phpstan.yml

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

Annotations

6 errors and 1 warning
Static Analysis by PHPStan (locked, 8.3, ubuntu-latest): src/Aggregate/AggregateHeader.php#L35
Parameter #3 $playhead of class Patchlevel\EventSourcing\Aggregate\AggregateHeader constructor expects int<1, max>, int given.
Static Analysis by PHPStan (locked, 8.3, ubuntu-latest): src/Console/OutputStyle.php#L52
Variable $headers might not be defined.
Static Analysis by PHPStan (locked, 8.3, ubuntu-latest): src/Console/OutputStyle.php#L52
Variable $headers might not be defined.
Static Analysis by PHPStan (locked, 8.3, ubuntu-latest): src/Message/Message.php#L76
Property Patchlevel\EventSourcing\Message\Message<T of object>::$headers (array<class-string, Patchlevel\EventSourcing\Message\Header>) does not accept array<class-string, object>.
Static Analysis by PHPStan (locked, 8.3, ubuntu-latest): src/Store/DoctrineDbalStoreStream.php#L139
Parameter #1 $data of static method Patchlevel\EventSourcing\Message\Header<array>::fromJsonSerialize() expects array, string given.
Static Analysis by PHPStan (locked, 8.3, ubuntu-latest)
Process completed with exit code 1.
Static Analysis by PHPStan (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/.