Skip to content

UI Websocket connection: support pings; support WS stream reading; be… #53

UI Websocket connection: support pings; support WS stream reading; be…

UI Websocket connection: support pings; support WS stream reading; be… #53

Triggered via push December 11, 2023 13:27
Status Success
Total duration 31s
Artifacts

psalm.yml

on: push
Matrix: psalm
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
InternalClass: src/Application.php#L181
src/Application.php:181:18: InternalClass: Buggregator\Trap\Sender\Websocket\Http\RequestHandler is internal to Buggregator\Trap * Read about Sec-WebSocket-Extensions: but called from Buggregator\Trap\Application (see https://psalm.dev/174)
InternalMethod: src/Application.php#L181
src/Application.php:181:18: InternalMethod: Constructor Buggregator\Trap\Sender\Websocket\Http\RequestHandler::__construct is internal to Buggregator\Trap * Read about Sec-WebSocket-Extensions: but called from Buggregator\Trap\Application::configureUI (see https://psalm.dev/175)
ArgumentTypeCoercion: src/Application.php#L188
src/Application.php:188:58: ArgumentTypeCoercion: Argument 1 of Buggregator\Trap\Config\SocketServer::__construct expects int<1, 65535>, but parent type int provided (see https://psalm.dev/193)
TooManyArguments: src/Sender/Console/Support/Tables.php#L32
src/Sender/Console/Support/Tables.php:32:30: TooManyArguments: Too many arguments for Buggregator\Trap\Support\Json::encode - expecting 1 but saw 2 (see https://psalm.dev/026)
InternalClass: src/Sender/Websocket/ConnectionPool.php#L89
src/Sender/Websocket/ConnectionPool.php:89:36: InternalClass: Buggregator\Trap\Traffic\Websocket\Opcode is internal to Buggregator\Trap\Traffic\Websocket but called from Buggregator\Trap\Sender\Websocket\ConnectionPool (see https://psalm.dev/174)
InternalClass: src/Sender/Websocket/ConnectionPool.php#L94
src/Sender/Websocket/ConnectionPool.php:94:32: InternalClass: Buggregator\Trap\Traffic\Websocket\Opcode is internal to Buggregator\Trap\Traffic\Websocket but called from Buggregator\Trap\Sender\Websocket\ConnectionPool (see https://psalm.dev/174)
InvalidDocblock: src/Sender/Websocket/FrameMapper.php#L14
src/Sender/Websocket/FrameMapper.php:14:1: InvalidDocblock: @template-implements must include the name of an implemented class, got IteratorAggregate<mixed, Buggregator\Trap\Proto\Frame> (see https://psalm.dev/008)
MissingReturnType: src/Sender/Websocket/Http/Events.php#L42
src/Sender/Websocket/Http/Events.php:42:22: MissingReturnType: Method Buggregator\Trap\Sender\Websocket\Http\Events::getEvents does not have a return type, expecting array{data: list<Buggregator\Trap\Sender\Websocket\Event>, meta: array{grid: array<never, never>}} (see https://psalm.dev/050)
InternalClass: src/Sender/Websocket/Http/RequestHandler.php#L51
src/Sender/Websocket/Http/RequestHandler.php:51:9: InternalClass: Buggregator\Trap\Handler\Http\Emitter is internal to Buggregator\Trap\Handler\Http but called from Buggregator\Trap\Sender\Websocket\Http\RequestHandler (see https://psalm.dev/174)
InternalMethod: src/Sender/Websocket/Http/RequestHandler.php#L51
src/Sender/Websocket/Http/RequestHandler.php:51:9: InternalMethod: The method Buggregator\Trap\Handler\Http\Emitter::emit is internal to Buggregator\Trap\Handler\Http but called from Buggregator\Trap\Sender\Websocket\Http\RequestHandler::handle (see https://psalm.dev/175)
Psalm Validation (PHP 8.2, OS ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/