Skip to content

feat(swoole): add options to listen to swoole server events #411

feat(swoole): add options to listen to swoole server events

feat(swoole): add options to listen to swoole server events #411

Triggered via pull request February 4, 2024 08:39
Status Failure
Total duration 36s
Artifacts

static.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

19 errors and 6 warnings
PHPStan: src/swoole/src/SwooleEventsTrait.php#L24
Access to constant EVENT_START on an unknown class Swoole\Constant.
PHPStan: src/swoole/src/SwooleEventsTrait.php#L25
Access to constant EVENT_WORKER_START on an unknown class Swoole\Constant.
PHPStan: src/swoole/src/SwooleEventsTrait.php#L26
Access to constant EVENT_WORKER_STOP on an unknown class Swoole\Constant.
PHPStan: src/swoole/src/SwooleEventsTrait.php#L27
Access to constant EVENT_WORKER_ERROR on an unknown class Swoole\Constant.
PHPStan: src/swoole/src/SwooleEventsTrait.php#L28
Access to constant EVENT_WORKER_EXIT on an unknown class Swoole\Constant.
PHPStan: src/swoole/src/SwooleEventsTrait.php#L29
Access to constant EVENT_TASK on an unknown class Swoole\Constant.
PHPStan: src/swoole/src/SwooleEventsTrait.php#L30
Access to constant EVENT_FINISH on an unknown class Swoole\Constant.
PHPStan: src/swoole/src/SwooleEventsTrait.php#L31
Access to constant EVENT_SHUTDOWN on an unknown class Swoole\Constant.
PHPStan: src/swoole/src/SwooleEventsTrait.php#L24
Access to constant EVENT_START on an unknown class Swoole\Constant.
PHPStan: src/swoole/src/SwooleEventsTrait.php#L25
Access to constant EVENT_WORKER_START on an unknown class Swoole\Constant.
UndefinedClass: src/swoole/src/SwooleEventsTrait.php#L24
src/swoole/src/SwooleEventsTrait.php:24:21: UndefinedClass: Class, interface or enum named Swoole\Constant does not exist (see https://psalm.dev/019)
UndefinedClass: src/swoole/src/SwooleEventsTrait.php#L25
src/swoole/src/SwooleEventsTrait.php:25:21: UndefinedClass: Class, interface or enum named Swoole\Constant does not exist (see https://psalm.dev/019)
UndefinedClass: src/swoole/src/SwooleEventsTrait.php#L26
src/swoole/src/SwooleEventsTrait.php:26:21: UndefinedClass: Class, interface or enum named Swoole\Constant does not exist (see https://psalm.dev/019)
UndefinedClass: src/swoole/src/SwooleEventsTrait.php#L27
src/swoole/src/SwooleEventsTrait.php:27:21: UndefinedClass: Class, interface or enum named Swoole\Constant does not exist (see https://psalm.dev/019)
UndefinedClass: src/swoole/src/SwooleEventsTrait.php#L28
src/swoole/src/SwooleEventsTrait.php:28:21: UndefinedClass: Class, interface or enum named Swoole\Constant does not exist (see https://psalm.dev/019)
UndefinedClass: src/swoole/src/SwooleEventsTrait.php#L29
src/swoole/src/SwooleEventsTrait.php:29:21: UndefinedClass: Class, interface or enum named Swoole\Constant does not exist (see https://psalm.dev/019)
UndefinedClass: src/swoole/src/SwooleEventsTrait.php#L30
src/swoole/src/SwooleEventsTrait.php:30:21: UndefinedClass: Class, interface or enum named Swoole\Constant does not exist (see https://psalm.dev/019)
UndefinedClass: src/swoole/src/SwooleEventsTrait.php#L31
src/swoole/src/SwooleEventsTrait.php:31:21: UndefinedClass: Class, interface or enum named Swoole\Constant does not exist (see https://psalm.dev/019)
Psalm
Process completed with exit code 2.
PHP-CS-Fixer
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP-CS-Fixer
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
PHPStan
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v2, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHPStan
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Psalm
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v2, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Psalm
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/