Skip to content

✨ Add generics templating #57

✨ Add generics templating

✨ Add generics templating #57

Triggered via pull request September 8, 2023 11:48
@matyo91matyo91
synchronize #34
generics
Status Failure
Total duration 4m 3s
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
Execute PHPStan analysis (8.2): examples/generic-errors.php#L34
Method Wrapper::bind() should return Wrapper<T2, E1|E2> but returns Wrapper<T2, E1>.
Execute PHPStan analysis (8.2): examples/generic-errors.php#L36
Method Wrapper::bind() should return Wrapper<T2, E1|E2> but returns Wrapper<T2, E2>.
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#L39
Property Flow\Flow\Flow::$callbacks with generic class Flow\Ip does not specify its types: T
Execute PHPStan analysis (8.2): src/Flow/Flow.php#L40
Property Flow\Flow\Flow::$fnFlow with generic interface Flow\FlowInterface does not specify its types: T
Execute PHPStan analysis (8.2): src/Flow/Flow.php#L66
Class Flow\Ip referenced with incorrect case: Flow\IP.
Execute PHPStan analysis (8.2): src/Flow/Flow.php#L66
Class Flow\Ip referenced with incorrect case: Flow\IP.
Execute PHPStan analysis (8.2): src/Flow/FlowDecorator.php#L11
Class Flow\Flow\FlowDecorator implements generic interface Flow\FlowInterface but does not specify its types: T
Execute PHPStan analysis (8.2): src/Flow/FlowDecorator.php#L13
Method Flow\Flow\FlowDecorator::__construct() has parameter $flow with generic interface Flow\FlowInterface but does not specify its types: T
Execute PHPStan analysis (8.2): src/Flow/FlowDecorator.php#L22
Class Flow\Ip referenced with incorrect case: Flow\IP.
Check and fix coding styles using PHP CS Fixer (8.2)
Process completed with exit code 8.