Skip to content

Adds Pusher routes

Adds Pusher routes #32

Triggered via pull request November 17, 2023 17:20
Status Failure
Total duration 32s
Artifacts

static-analysis.yml

on: pull_request
Static Analysis
20s
Static Analysis
Fit to window
Zoom out
Zoom in

Annotations

7 errors
Static Analysis: src/Http/Server.php#L80
Method Laravel\Reverb\Http\Server::createRequest() should return Psr\Http\Message\RequestInterface but return statement is missing.
Static Analysis: src/Pusher/Http/Controllers/ChannelController.php#L14
Return type mixed of method Laravel\Reverb\Pusher\Http\Controllers\ChannelController::handle() is not covariant with return type Symfony\Component\HttpFoundation\Response of method Laravel\Reverb\Pusher\Http\Controllers\Controller::handle().
Static Analysis: src/Pusher/Http/Controllers/ChannelUsersController.php#L14
Return type mixed of method Laravel\Reverb\Pusher\Http\Controllers\ChannelUsersController::handle() is not covariant with return type Symfony\Component\HttpFoundation\Response of method Laravel\Reverb\Pusher\Http\Controllers\Controller::handle().
Static Analysis: src/Pusher/Http/Controllers/UsersTerminateController.php#L14
Return type mixed of method Laravel\Reverb\Pusher\Http\Controllers\UsersTerminateController::handle() is not covariant with return type Symfony\Component\HttpFoundation\Response of method Laravel\Reverb\Pusher\Http\Controllers\Controller::handle().
Static Analysis: src/Servers/ApiGateway/ApiGatewayProvider.php#L59
Class Laravel\Reverb\Managers\ConnectionManager does not have a constructor and must be instantiated without any parameters.
Static Analysis: src/Servers/ApiGateway/ApiGatewayProvider.php#L72
Class Laravel\Reverb\Managers\ChannelManager does not have a constructor and must be instantiated without any parameters.
Static Analysis
Process completed with exit code 1.