From c5cdd8c35234dde9069f7e82af2ae12c007d9037 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Preu=C3=9F?= Date: Fri, 1 Jan 2021 16:55:52 +0100 Subject: [PATCH] Fix style ci --- app/Client/Http/HttpClient.php | 5 ++--- app/Server/Connections/ControlConnection.php | 1 - 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/app/Client/Http/HttpClient.php b/app/Client/Http/HttpClient.php index 1ed5e9f..b4b7fec 100644 --- a/app/Client/Http/HttpClient.php +++ b/app/Client/Http/HttpClient.php @@ -6,17 +6,17 @@ use App\Client\Configuration; use App\Client\Http\Modifiers\CheckBasicAuthentication; use App\Logger\RequestLogger; use Clue\React\Buzz\Browser; -use Psr\Http\Message\UriInterface; -use React\Stream\ReadableStreamInterface; use function GuzzleHttp\Psr7\parse_request; use function GuzzleHttp\Psr7\str; use Laminas\Http\Request; use Psr\Http\Message\RequestInterface; use Psr\Http\Message\ResponseInterface; +use Psr\Http\Message\UriInterface; use Ratchet\Client\WebSocket; use Ratchet\RFC6455\Messaging\Frame; use React\EventLoop\LoopInterface; use React\Socket\Connector; +use React\Stream\ReadableStreamInterface; class HttpClient { @@ -107,7 +107,6 @@ class HttpClient $response->buffer .= $chunk; $this->sendChunkToServer($chunk, $proxyConnection); - }); $body->on('close', function () use ($proxyConnection, $response) { diff --git a/app/Server/Connections/ControlConnection.php b/app/Server/Connections/ControlConnection.php index 6b09a0e..80b1d31 100644 --- a/app/Server/Connections/ControlConnection.php +++ b/app/Server/Connections/ControlConnection.php @@ -3,7 +3,6 @@ namespace App\Server\Connections; use Evenement\EventEmitterTrait; -use Illuminate\Support\Str; use Ratchet\ConnectionInterface; class ControlConnection