Skip to content

🏗️ YFlow rework #157

🏗️ YFlow rework

🏗️ YFlow rework #157

Triggered via pull request August 13, 2024 11:59
@matyo91matyo91
synchronize #53
yflow-rework
Status Failure
Total duration 3m 6s
Artifacts

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 and 3 warnings
Execute PHPStan analysis (8.3): src/Driver/AmpDriver.php#L97
Unable to resolve the template type Tr in call to method Amp\Future<TReturn>::map()
Execute PHPStan analysis (8.3): src/Flow/Flow.php#L67
Method Flow\Flow\Flow::__construct() has parameter $asyncHandler with generic interface Flow\AsyncHandlerInterface but does not specify its types: T
Execute PHPStan analysis (8.3): src/Flow/YFlow.php#L27
Method Flow\Flow\YFlow::__construct() has parameter $asyncHandler with generic interface Flow\AsyncHandlerInterface but does not specify its types: T
Execute PHPStan analysis (8.3): tests/AsyncHandler/AsyncHandlerTest.php#L18
Class Flow\Event\AsyncEvent constructor invoked with 3 parameters, 5 required.
Execute PHPStan analysis (8.3): tests/AsyncHandler/AsyncHandlerTest.php#L20
Parameter #2 $defer of class Flow\Event\AsyncEvent constructor expects Closure, 2 given.
Execute PHPStan analysis (8.3): tests/AsyncHandler/AsyncHandlerTest.php#L20
Parameter #3 $job of class Flow\Event\AsyncEvent constructor expects Closure, 6 given.
Execute PHPStan analysis (8.3): tests/AsyncHandler/BatchAsyncHandlerTest.php#L18
Class Flow\Event\AsyncEvent constructor invoked with 3 parameters, 5 required.
Execute PHPStan analysis (8.3): tests/AsyncHandler/BatchAsyncHandlerTest.php#L20
Parameter #2 $defer of class Flow\Event\AsyncEvent constructor expects Closure, 2 given.
Execute PHPStan analysis (8.3): tests/AsyncHandler/BatchAsyncHandlerTest.php#L20
Parameter #3 $job of class Flow\Event\AsyncEvent constructor expects Closure, 6 given.
Execute PHPStan analysis (8.3): tests/AsyncHandler/BatchAsyncHandlerTest.php#L22
Class Flow\Event\AsyncEvent constructor invoked with 3 parameters, 5 required.
Launch PHPUnit test suite (8.3)
Process completed with exit code 2.
Check and fix coding styles using PHP CS Fixer (8.3)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Execute PHPStan analysis (8.3)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Launch PHPUnit test suite (8.3)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/