Skip to content

Websockets protocol #60

Websockets protocol

Websockets protocol #60

Triggered via pull request December 12, 2023 21:25
@roxblnfkroxblnfk
synchronize #34
websockets
Status Success
Total duration 26s
Artifacts

psalm.yml

on: pull_request
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)
InvalidAttribute: src/Handler/Router/Attribute/Route.php#L12
src/Handler/Router/Attribute/Route.php:12:3: InvalidAttribute: Abstract classes cannot act as attribute classes (see https://psalm.dev/242)
UndefinedPropertyFetch: src/Handler/Router/Router.php#L129
src/Handler/Router/Router.php:129:67: UndefinedPropertyFetch: Instance property Buggregator\Trap\Handler\Router\Attribute\Route::$path is not defined (see https://psalm.dev/039)
ArgumentTypeCoercion: src/Handler/Router/Router.php#L130
src/Handler/Router/Router.php:130:61: ArgumentTypeCoercion: Argument 1 of preg_match expects non-empty-string, but parent type string provided (see https://psalm.dev/193)
UndefinedPropertyFetch: src/Handler/Router/Router.php#L130
src/Handler/Router/Router.php:130:69: UndefinedPropertyFetch: Instance property Buggregator\Trap\Handler\Router\Attribute\Route::$regexp is not defined (see https://psalm.dev/039)
MixedAssignment: src/Handler/Router/Router.php#L170
src/Handler/Router/Router.php:170:17: MixedAssignment: Unable to determine the type of this assignment (see https://psalm.dev/032)
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)
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/