🏗️ YFlow rework #154
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
12 errors and 3 warnings
Check and fix coding styles using PHP CS Fixer (8.3)
Process completed with exit code 8.
|
Execute PHPStan analysis (8.3):
examples/flow.php#L22
Match arm comparison between 4 and 1 is always false.
|
Execute PHPStan analysis (8.3):
examples/flow.php#L23
Match arm comparison between 4 and 2 is always false.
|
Execute PHPStan analysis (8.3):
examples/flow.php#L24
Match arm comparison between 4 and 3 is always false.
|
Execute PHPStan analysis (8.3):
src/Driver/AmpDriver.php#L62
Method Flow\Driver\AmpDriver::defer() return type with generic class Amp\Future does not specify its types: T
|
Execute PHPStan analysis (8.3):
src/Driver/AmpDriver.php#L102
Unable to resolve the template type Tr in call to method Amp\Future<mixed>::map()
|
Execute PHPStan analysis (8.3):
src/Driver/ReactDriver.php#L62
Method Flow\Driver\ReactDriver::defer() return type with generic class React\Promise\Promise does not specify its types: T
|
Execute PHPStan analysis (8.3):
src/Driver/ReactDriver.php#L76
Method Flow\Driver\ReactDriver::defer() should return React\Promise\Promise but returns React\Promise\PromiseInterface<mixed>.
|
Execute PHPStan analysis (8.3):
src/Driver/SwooleDriver.php#L81
Parameter #3 $job of class Flow\Event\AsyncEvent constructor expects Closure, array given.
|
Execute PHPStan analysis (8.3):
src/Driver/SwooleDriver.php#L81
Parameter #4 $ip of class Flow\Event\AsyncEvent constructor expects Flow\Ip, (int|string) given.
|
Execute PHPStan analysis (8.3):
src/Event/AsyncEvent.php#L13
Method Flow\Event\AsyncEvent::__construct() has parameter $ip with generic class Flow\Ip but does not specify its types: T
|
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/
|