Skip to content

Websockets protocol #58

Websockets protocol

Websockets protocol #58

Triggered via pull request December 12, 2023 21:25
@roxblnfkroxblnfk
synchronize #34
websockets
Status Success
Total duration 27s
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)
MoreSpecificReturnType: src/Handler/Router/Router.php#L92
src/Handler/Router/Router.php:92:16: MoreSpecificReturnType: The declared return type 'list<Buggregator\Trap\Handler\Router\RouteDto>' for Buggregator\Trap\Handler\Router\Router::collectRoutes is more specific than the inferred return type 'array<array-key, Buggregator\Trap\Handler\Router\Attribute\Route|Buggregator\Trap\Handler\Router\RouteDto>' (see https://psalm.dev/070)
LessSpecificReturnStatement: src/Handler/Router/Router.php#L115
src/Handler/Router/Router.php:115:16: LessSpecificReturnStatement: The type 'array<array-key, Buggregator\Trap\Handler\Router\Attribute\Route|Buggregator\Trap\Handler\Router\RouteDto>' is more general than the declared return type 'list<Buggregator\Trap\Handler\Router\RouteDto>' for Buggregator\Trap\Handler\Router\Router::collectRoutes (see https://psalm.dev/129)
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)
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/