Skip to content

There is no baseline currently #14

There is no baseline currently

There is no baseline currently #14

Triggered via push September 15, 2023 14:52
Status Failure
Total duration 29s
Artifacts

phpstan.yml

on: push
Matrix: phpstan
Fit to window
Zoom out
Zoom in

Annotations

7 errors
PHPStan PHP 8.2: src/Testing/GivenWhenThen/Scenario.php#L31
Property Dflydev\EventSauce\Support\Testing\GivenWhenThen\Scenario::$payloadSerializer is never written, only read.
PHPStan PHP 8.2: src/Testing/GivenWhenThen/Scenario.php#L277
Parameter #1 $event of method EventSauce\EventSourcing\Serialization\PayloadSerializer::serializePayload() expects object, mixed given.
PHPStan PHP 8.2: src/Testing/GivenWhenThen/Scenario.php#L279
Parameter #1 $json of function json_decode expects string, string|false given.
PHPStan PHP 8.2: src/Testing/GivenWhenThen/Scenario.php#L280
Parameter #1 $className of method EventSauce\EventSourcing\Serialization\PayloadSerializer::unserializePayload() expects class-string<object>, class-string|false given.
PHPStan PHP 8.2: src/Testing/GivenWhenThen/Scenario.php#L280
Parameter #1 $object of function get_class expects object, mixed given.
PHPStan PHP 8.2: src/Testing/GivenWhenThen/Scenario.php#L280
Parameter #2 $payload of method EventSauce\EventSourcing\Serialization\PayloadSerializer::unserializePayload() expects array, mixed given.
PHPStan PHP 8.2
Process completed with exit code 1.