🏗️ YFlow rework #148
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
11 errors and 3 warnings
Execute PHPStan analysis (8.3):
examples/ampYFlow.php#L17
Function wrapWithDeferred() return type with generic class Amp\Future does not specify its types: T
|
Execute PHPStan analysis (8.3):
examples/ampYFlow.php#L26
Unable to resolve the template type Tr in call to method Amp\Future<mixed>::map()
|
Execute PHPStan analysis (8.3):
src/Driver/FiberDriver.php#L30
Non-abstract class Flow\Driver\FiberDriver contains abstract method defer() from interface Flow\DriverInterface.
|
Execute PHPStan analysis (8.3):
src/Driver/FiberDriver.php#L87
Parameter #3 $job of class Flow\Event\AsyncEvent constructor expects Closure, array given.
|
Execute PHPStan analysis (8.3):
src/Driver/FiberDriver.php#L87
Parameter #4 $ip of class Flow\Event\AsyncEvent constructor expects Flow\Ip, (int|string) given.
|
Execute PHPStan analysis (8.3):
src/Driver/FiberDriver.php#L87
Parameter #5 $callback of class Flow\Event\AsyncEvent constructor expects Closure, false given.
|
Execute PHPStan analysis (8.3):
src/Driver/ReactDriver.php#L32
Non-abstract class Flow\Driver\ReactDriver contains abstract method defer() from interface Flow\DriverInterface.
|
Execute PHPStan analysis (8.3):
src/Driver/ReactDriver.php#L80
Parameter #3 $job of class Flow\Event\AsyncEvent constructor expects Closure, array given.
|
Execute PHPStan analysis (8.3):
src/Driver/ReactDriver.php#L80
Parameter #4 $ip of class Flow\Event\AsyncEvent constructor expects Flow\Ip, (int|string) given.
|
Execute PHPStan analysis (8.3):
src/Driver/SpatieDriver.php#L30
Non-abstract class Flow\Driver\SpatieDriver contains abstract method defer() from interface Flow\DriverInterface.
|
Launch PHPUnit test suite (8.3)
Process completed with exit code 255.
|
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/
|
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/
|
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/
|