✨ Add generics templating #58
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
Annotations
10 errors
Execute PHPStan analysis (8.2):
examples/flow.php#L83
Parameter #1 $ip of callable Flow\FlowInterface<T2 of Flow\Ip> expects Flow\Ip<T2 of Flow\Ip>, Flow\Ip<ArrayObject<string, int>> given.
|
Execute PHPStan analysis (8.2):
examples/generic-errors.php#L42
Method Wrapper::bind() should return Wrapper<T2, E1|E2> but returns Wrapper<T2, E2>.
|
Execute PHPStan analysis (8.2):
src/Driver/AmpDriver.php#L18
Class Flow\Driver\AmpDriver implements generic interface Flow\DriverInterface but does not specify its types: T
|
Execute PHPStan analysis (8.2):
src/Driver/FiberDriver.php#L15
Class Flow\Driver\FiberDriver implements generic interface Flow\DriverInterface but does not specify its types: T
|
Execute PHPStan analysis (8.2):
src/Driver/ReactDriver.php#L19
Class Flow\Driver\ReactDriver implements generic interface Flow\DriverInterface but does not specify its types: T
|
Execute PHPStan analysis (8.2):
src/Driver/RevoltDriver.php#L15
Class Flow\Driver\RevoltDriver implements generic interface Flow\DriverInterface but does not specify its types: T
|
Execute PHPStan analysis (8.2):
src/Driver/SwooleDriver.php#L17
Class Flow\Driver\SwooleDriver implements generic interface Flow\DriverInterface but does not specify its types: T
|
Execute PHPStan analysis (8.2):
src/DriverInterface.php#L19
PHPDoc tag @param has invalid value (callable(ExceptionInterface|?T): void): Unexpected token "(", expected variable at offset 26
|
Execute PHPStan analysis (8.2):
src/Flow/Flow.php#L20
Class Flow\Flow\Flow implements generic interface Flow\FlowInterface but does not specify its types: T
|
Execute PHPStan analysis (8.2):
src/Flow/Flow.php#L34
Property Flow\Flow\Flow::$driver with generic interface Flow\DriverInterface does not specify its types: T
|