Skip to content

Debug server

Debug server #814

Triggered via pull request June 21, 2024 16:50
@xepozzxepozz
synchronize #125
dev-server
Status Failure
Total duration 55s
Artifacts

static.yml

on: pull_request
Matrix: psalm / psalm
Fit to window
Zoom out
Zoom in

Annotations

21 errors
InvalidArgument: src/Debug/Controller/DebugController.php#L330
src/Debug/Controller/DebugController.php:330:44: InvalidArgument: Argument 1 of Yiisoft\Yii\Debug\Api\ServerSentEventsStream::__construct expects Closure():Generator, but impure-Closure(array<array-key, mixed>):bool provided (see https://psalm.dev/004)
UndefinedClass: src/Debug/Http/HttpApplicationWrapper.php#L20
src/Debug/Http/HttpApplicationWrapper.php:20:26: UndefinedClass: Class, interface or enum named Yiisoft\Yii\Http\Application does not exist (see https://psalm.dev/019)
UndefinedClass: src/Debug/Provider/DebugApiProvider.php#L39
src/Debug/Provider/DebugApiProvider.php:39:13: UndefinedClass: Class, interface or enum named Yiisoft\Yii\Http\Application does not exist (see https://psalm.dev/019)
UndefinedClass: src/Debug/Provider/DebugApiProvider.php#L39
src/Debug/Provider/DebugApiProvider.php:39:83: UndefinedClass: Class, interface or enum named Yiisoft\Yii\Http\Application does not exist (see https://psalm.dev/019)
UndefinedClass: src/Inspector/Controller/DebugServerController.php#L24
src/Inspector/Controller/DebugServerController.php:24:19: UndefinedClass: Class, interface or enum named Yiisoft\Yii\Debug\DebugServer\Connection does not exist (see https://psalm.dev/019)
MethodSignatureMismatch: src/ServerSentEventsStream.php#L11
src/ServerSentEventsStream.php:11:13: MethodSignatureMismatch: Method Yiisoft\Yii\Debug\Api\ServerSentEventsStream::getSize with return type '' is different to return type 'int|null' of inherited method Psr\Http\Message\StreamInterface::getSize (see https://psalm.dev/042)
MethodSignatureMismatch: src/ServerSentEventsStream.php#L11
src/ServerSentEventsStream.php:11:13: MethodSignatureMismatch: Method Yiisoft\Yii\Debug\Api\ServerSentEventsStream::write with return type 'void' is different to return type 'int' of inherited method Psr\Http\Message\StreamInterface::write (see https://psalm.dev/042)
TooManyArguments: src/ServerSentEventsStream.php#L83
src/ServerSentEventsStream.php:83:18: TooManyArguments: Too many arguments for - expecting 0 but saw 1 (see https://psalm.dev/026)
psalm / PHP 8.2-ubuntu-latest
Process completed with exit code 2.
psalm / PHP 8.3-ubuntu-latest
The job was canceled because "ubuntu-latest_8_2" failed.
psalm / PHP 8.3-ubuntu-latest
The operation was canceled.
psalm / PHP 8.1-ubuntu-latest
The job was canceled because "ubuntu-latest_8_2" failed.
InvalidArgument: src/Debug/Controller/DebugController.php#L330
src/Debug/Controller/DebugController.php:330:44: InvalidArgument: Argument 1 of Yiisoft\Yii\Debug\Api\ServerSentEventsStream::__construct expects Closure():Generator, but impure-Closure(array<array-key, mixed>):bool provided (see https://psalm.dev/004)
UndefinedClass: src/Debug/Http/HttpApplicationWrapper.php#L20
src/Debug/Http/HttpApplicationWrapper.php:20:26: UndefinedClass: Class, interface or enum named Yiisoft\Yii\Http\Application does not exist (see https://psalm.dev/019)
UndefinedClass: src/Debug/Provider/DebugApiProvider.php#L39
src/Debug/Provider/DebugApiProvider.php:39:13: UndefinedClass: Class, interface or enum named Yiisoft\Yii\Http\Application does not exist (see https://psalm.dev/019)
UndefinedClass: src/Debug/Provider/DebugApiProvider.php#L39
src/Debug/Provider/DebugApiProvider.php:39:83: UndefinedClass: Class, interface or enum named Yiisoft\Yii\Http\Application does not exist (see https://psalm.dev/019)
UndefinedClass: src/Inspector/Controller/DebugServerController.php#L24
src/Inspector/Controller/DebugServerController.php:24:19: UndefinedClass: Class, interface or enum named Yiisoft\Yii\Debug\DebugServer\Connection does not exist (see https://psalm.dev/019)
MethodSignatureMismatch: src/ServerSentEventsStream.php#L11
src/ServerSentEventsStream.php:11:13: MethodSignatureMismatch: Method Yiisoft\Yii\Debug\Api\ServerSentEventsStream::getSize with return type '' is different to return type 'int|null' of inherited method Psr\Http\Message\StreamInterface::getSize (see https://psalm.dev/042)
MethodSignatureMismatch: src/ServerSentEventsStream.php#L11
src/ServerSentEventsStream.php:11:13: MethodSignatureMismatch: Method Yiisoft\Yii\Debug\Api\ServerSentEventsStream::write with return type 'void' is different to return type 'int' of inherited method Psr\Http\Message\StreamInterface::write (see https://psalm.dev/042)
TooManyArguments: src/ServerSentEventsStream.php#L83
src/ServerSentEventsStream.php:83:18: TooManyArguments: Too many arguments for - expecting 0 but saw 1 (see https://psalm.dev/026)
psalm / PHP 8.1-ubuntu-latest
The operation was canceled.