Apply Router to Websocket RPC class #55
Annotations
10 errors and 1 warning
Run Tests:
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)
|
Run Tests:
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)
|
Run Tests:
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)
|
Run Tests:
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)
|
Run Tests:
src/Handler/Router/Router.php#L35
src/Handler/Router/Router.php:35:31: ArgumentTypeCoercion: Argument 1 of Buggregator\Trap\Handler\Router\Router::newStatic expects class-string, but parent type string provided (see https://psalm.dev/193)
|
Run Tests:
src/Handler/Router/Router.php#L80
src/Handler/Router/Router.php:80: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)
|
Run Tests:
src/Handler/Router/Router.php#L103
src/Handler/Router/Router.php:103: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)
|
Run Tests:
src/Handler/Router/Router.php#L117
src/Handler/Router/Router.php:117:59: UndefinedPropertyFetch: Instance property Buggregator\Trap\Handler\Router\Attribute\Route::$path is not defined (see https://psalm.dev/039)
|
Run Tests:
src/Handler/Router/Router.php#L118
src/Handler/Router/Router.php:118:61: UndefinedPropertyFetch: Instance property Buggregator\Trap\Handler\Router\Attribute\Route::$regexp is not defined (see https://psalm.dev/039)
|
Run Tests:
src/Handler/Router/Router.php#L118
src/Handler/Router/Router.php:118:61: MixedArgument: Argument 1 of preg_match cannot be mixed, expecting string (see https://psalm.dev/030)
|
Get Composer Cache Directory
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/
|
The logs for this run have expired and are no longer available.
Loading