Completed
Pull Request — master (#140)
by
unknown
06:07
created
src/Dashboard/DashboardLogger.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,9 +2,9 @@
 block discarded – undo
2 2
 
3 3
 namespace BeyondCode\LaravelWebSockets\Dashboard;
4 4
 
5
-use stdClass;
6
-use Ratchet\ConnectionInterface;
7 5
 use BeyondCode\LaravelWebSockets\WebSockets\Channels\ChannelManager;
6
+use Ratchet\ConnectionInterface;
7
+use stdClass;
8 8
 
9 9
 class DashboardLogger
10 10
 {
Please login to merge, or discard this patch.
src/HttpApi/Controllers/TriggerEventController.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,9 +2,9 @@
 block discarded – undo
2 2
 
3 3
 namespace BeyondCode\LaravelWebSockets\HttpApi\Controllers;
4 4
 
5
-use Illuminate\Http\Request;
6
-use BeyondCode\LaravelWebSockets\Facades\StatisticsLogger;
7 5
 use BeyondCode\LaravelWebSockets\Dashboard\DashboardLogger;
6
+use BeyondCode\LaravelWebSockets\Facades\StatisticsLogger;
7
+use Illuminate\Http\Request;
8 8
 
9 9
 class TriggerEventController extends Controller
10 10
 {
Please login to merge, or discard this patch.
src/Server/Logger/WebsocketsLogger.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,11 +2,11 @@
 block discarded – undo
2 2
 
3 3
 namespace BeyondCode\LaravelWebSockets\Server\Logger;
4 4
 
5
+use BeyondCode\LaravelWebSockets\QueryParameters;
5 6
 use Exception;
6 7
 use Ratchet\ConnectionInterface;
7 8
 use Ratchet\RFC6455\Messaging\MessageInterface;
8 9
 use Ratchet\WebSocket\MessageComponentInterface;
9
-use BeyondCode\LaravelWebSockets\QueryParameters;
10 10
 
11 11
 class WebsocketsLogger extends Logger implements MessageComponentInterface
12 12
 {
Please login to merge, or discard this patch.
src/Server/OriginCheck.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,10 +2,10 @@
 block discarded – undo
2 2
 
3 3
 namespace BeyondCode\LaravelWebSockets\Server;
4 4
 
5
+use Psr\Http\Message\RequestInterface;
5 6
 use Ratchet\ConnectionInterface;
6 7
 use Ratchet\Http\CloseResponseTrait;
7 8
 use Ratchet\Http\HttpServerInterface;
8
-use Psr\Http\Message\RequestInterface;
9 9
 use Ratchet\MessageComponentInterface;
10 10
 
11 11
 class OriginCheck implements HttpServerInterface
Please login to merge, or discard this patch.
src/Server/WebSocketServerFactory.php 1 patch
Unused Use Statements   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -2,17 +2,17 @@
 block discarded – undo
2 2
 
3 3
 namespace BeyondCode\LaravelWebSockets\Server;
4 4
 
5
+use BeyondCode\LaravelWebSockets\Server\Logger\HttpLogger;
5 6
 use Ratchet\Http\Router;
6
-use React\Socket\Server;
7 7
 use Ratchet\Server\IoServer;
8
-use React\Socket\SecureServer;
9
-use React\EventLoop\LoopInterface;
10 8
 use React\EventLoop\Factory as LoopFactory;
9
+use React\EventLoop\LoopInterface;
10
+use React\Socket\SecureServer;
11
+use React\Socket\Server;
12
+use Symfony\Component\Console\Output\OutputInterface;
13
+use Symfony\Component\Routing\Matcher\UrlMatcher;
11 14
 use Symfony\Component\Routing\RequestContext;
12 15
 use Symfony\Component\Routing\RouteCollection;
13
-use Symfony\Component\Routing\Matcher\UrlMatcher;
14
-use Symfony\Component\Console\Output\OutputInterface;
15
-use BeyondCode\LaravelWebSockets\Server\Logger\HttpLogger;
16 16
 
17 17
 class WebSocketServerFactory
18 18
 {
Please login to merge, or discard this patch.
src/Statistics/Logger/HttpStatisticsLogger.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,9 +6,9 @@
 block discarded – undo
6 6
 use Ratchet\ConnectionInterface;
7 7
 use function GuzzleHttp\Psr7\stream_for;
8 8
 use BeyondCode\LaravelWebSockets\Apps\App;
9
+use BeyondCode\LaravelWebSockets\Statistics\Http\Controllers\WebSocketStatisticsEntriesController;
9 10
 use BeyondCode\LaravelWebSockets\Statistics\Statistic;
10 11
 use BeyondCode\LaravelWebSockets\WebSockets\Channels\ChannelManager;
11
-use BeyondCode\LaravelWebSockets\Statistics\Http\Controllers\WebSocketStatisticsEntriesController;
12 12
 
13 13
 class HttpStatisticsLogger implements StatisticsLogger
14 14
 {
Please login to merge, or discard this patch.
src/WebSockets/Messages/PusherChannelProtocolMessage.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,10 +2,10 @@
 block discarded – undo
2 2
 
3 3
 namespace BeyondCode\LaravelWebSockets\WebSockets\Messages;
4 4
 
5
-use stdClass;
5
+use BeyondCode\LaravelWebSockets\WebSockets\Channels\ChannelManager;
6 6
 use Illuminate\Support\Str;
7 7
 use Ratchet\ConnectionInterface;
8
-use BeyondCode\LaravelWebSockets\WebSockets\Channels\ChannelManager;
8
+use stdClass;
9 9
 
10 10
 class PusherChannelProtocolMessage implements PusherMessage
11 11
 {
Please login to merge, or discard this patch.
src/WebSockets/Channels/ChannelManagers/ArrayChannelManager.php 1 patch
Unused Use Statements   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -2,13 +2,13 @@
 block discarded – undo
2 2
 
3 3
 namespace BeyondCode\LaravelWebSockets\WebSockets\Channels\ChannelManagers;
4 4
 
5
-use Illuminate\Support\Arr;
6
-use Illuminate\Support\Str;
7
-use Ratchet\ConnectionInterface;
8 5
 use BeyondCode\LaravelWebSockets\WebSockets\Channels\Channel;
9 6
 use BeyondCode\LaravelWebSockets\WebSockets\Channels\ChannelManager;
10
-use BeyondCode\LaravelWebSockets\WebSockets\Channels\PrivateChannel;
11 7
 use BeyondCode\LaravelWebSockets\WebSockets\Channels\PresenceChannel;
8
+use BeyondCode\LaravelWebSockets\WebSockets\Channels\PrivateChannel;
9
+use Illuminate\Support\Arr;
10
+use Illuminate\Support\Str;
11
+use Ratchet\ConnectionInterface;
12 12
 
13 13
 class ArrayChannelManager implements ChannelManager
14 14
 {
Please login to merge, or discard this patch.
src/WebSockets/Messages/PusherClientMessage.php 1 patch
Unused Use Statements   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -2,11 +2,11 @@
 block discarded – undo
2 2
 
3 3
 namespace BeyondCode\LaravelWebSockets\WebSockets\Messages;
4 4
 
5
-use stdClass;
6
-use Illuminate\Support\Str;
7
-use Ratchet\ConnectionInterface;
8 5
 use BeyondCode\LaravelWebSockets\Dashboard\DashboardLogger;
9 6
 use BeyondCode\LaravelWebSockets\WebSockets\Channels\ChannelManager;
7
+use Illuminate\Support\Str;
8
+use Ratchet\ConnectionInterface;
9
+use stdClass;
10 10
 
11 11
 class PusherClientMessage implements PusherMessage
12 12
 {
Please login to merge, or discard this patch.