Merge pull request #71 from tarfin-labs/WEB-4311-event-machine-guardl… #43
Annotations
10 errors
Run PHPStan:
database/factories/MachineEventFactory.php#L19
Class Tarfinlabs\EventMachine\Database\Factories\MachineEventFactory extends generic class Illuminate\Database\Eloquent\Factories\Factory but does not specify its types: TModel
|
Run PHPStan:
database/factories/MachineEventFactory.php#L31
Parameter $array of function implode expects array|null, array|string given.
|
Run PHPStan:
database/factories/MachineEventFactory.php#L39
Parameter $array of function implode expects array|null, array|string given.
|
Run PHPStan:
src/Actor/Machine.php#L372
Parameter #1 $callback of method Illuminate\Support\Collection<(int|string),mixed>::filter() expects (callable(mixed, int|string): bool)|null, Closure(Tarfinlabs\EventMachine\Models\MachineEvent): (0|1|false) given.
|
Run PHPStan:
src/Actor/Machine.php#L474
Trying to invoke (callable(): mixed)|object but it might not be a callable.
|
Run PHPStan:
src/Actor/State.php#L40
Method Tarfinlabs\EventMachine\Actor\State::__construct() has parameter $history with generic class Illuminate\Support\Collection but does not specify its types: TKey, TValue
|
Run PHPStan:
src/Actor/State.php#L135
Part $currentEventBehavior->type (Spatie\LaravelData\Optional|string) of encapsed string cannot be cast to string.
|
Run PHPStan:
src/Behavior/EventBehavior.php#L41
Attribute class Spatie\LaravelData\Attributes\WithoutValidation does not have the parameter target.
|
Run PHPStan:
src/Behavior/EventBehavior.php#L43
Attribute class Spatie\LaravelData\Attributes\WithoutValidation does not have the parameter target.
|
Run PHPStan:
src/Behavior/InvokableBehavior.php#L33
Method Tarfinlabs\EventMachine\Behavior\InvokableBehavior::__construct() has parameter $eventQueue with generic class Illuminate\Support\Collection but does not specify its types: TKey, TValue
|
The logs for this run have expired and are no longer available.
Loading