Skip to content

✨ Add generics templating #59

✨ Add generics templating

✨ Add generics templating #59

Triggered via pull request September 8, 2023 21:49
@matyo91matyo91
synchronize #34
generics
Status Failure
Total duration 3m 41s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

ci.yaml

on: pull_request
Matrix: Check and fix coding styles using PHP CS Fixer
Matrix: Execute PHPStan analysis
Matrix: Launch PHPUnit test suite
Fit to window
Zoom out
Zoom in

Annotations

11 errors
Check and fix coding styles using PHP CS Fixer (8.2)
Process completed with exit code 8.
Execute PHPStan analysis (8.2): src/DriverInterface.php#L23
PHPDoc tag @param for parameter $onResolve with type callable is not subtype of native type Closure|null.
Execute PHPStan analysis (8.2): src/DriverInterface.php#L23
PHPDoc tag @param references unknown parameter: $callable
Execute PHPStan analysis (8.2): src/Flow/Flow.php#L131
Parameter #1 $ip of callable Flow\FlowInterface<T2 of object> expects Flow\Ip<T2 of object>, Flow\Ip<T1 of object> given.
Execute PHPStan analysis (8.2): src/Flow/TransportFlow.php#L39
Property Flow\Flow\TransportFlow::$driver with generic interface Flow\DriverInterface does not specify its types: T1, T2
Execute PHPStan analysis (8.2): src/Flow/TransportFlow.php#L41
Method Flow\Flow\TransportFlow::__construct() has parameter $driver with generic interface Flow\DriverInterface but does not specify its types: T1, T2
Execute PHPStan analysis (8.2): src/Flow/TransportFlow.php#L74
Parameter #1 $object of method SplObjectStorage<Flow\Ip<T1 of object>,Symfony\Component\Messenger\Envelope>::offsetSet() expects Flow\Ip<T1 of object>|null, Flow\Ip<object> given.
Execute PHPStan analysis (8.2): src/Flow/TransportFlow.php#L78
Parameter #1 $ip of callable Flow\FlowInterface<T1 of object> expects Flow\Ip<T1 of object>, Flow\Ip<object> given.
Execute PHPStan analysis (8.2): src/Flow/TransportFlow.php#L94
Parameter #1 $object of method SplObjectStorage<Flow\Ip<T1 of object>,Symfony\Component\Messenger\Envelope>::offsetGet() expects Flow\Ip<T1 of object>, Flow\Ip<object> given.
Execute PHPStan analysis (8.2): src/Flow/TransportFlow.php#L96
Parameter #1 $object of method SplObjectStorage<Flow\Ip<T1 of object>,Symfony\Component\Messenger\Envelope>::offsetUnset() expects Flow\Ip<T1 of object>, Flow\Ip<object> given.
Execute PHPStan analysis (8.2): src/Flow/YFlow.php#L19
Method Flow\Flow\YFlow::__construct() has parameter $driver with generic interface Flow\DriverInterface but does not specify its types: T1, T2