Completed
Pull Request — master (#7)
by Antonio
04:05
created
src/Apps/ConfigAppProvider.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace BeyondCode\LaravelWebSockets\Apps;
4 4
 
5
-use Illuminate\Support\Collection;
6 5
 use Illuminate\Contracts\Config\Repository;
6
+use Illuminate\Support\Collection;
7 7
 
8 8
 class ConfigAppProvider implements AppProvider
9 9
 {
Please login to merge, or discard this patch.
src/Console/StartWebSocketServer.php 1 patch
Unused Use Statements   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -2,21 +2,21 @@
 block discarded – undo
2 2
 
3 3
 namespace BeyondCode\LaravelWebSockets\Console;
4 4
 
5
-use React\Socket\Connector;
6
-use Clue\React\Buzz\Browser;
7
-use Illuminate\Console\Command;
8
-use Illuminate\Contracts\Config\Repository;
9
-use React\EventLoop\Factory as LoopFactory;
10
-use BeyondCode\LaravelWebSockets\Statistics\DnsResolver;
11 5
 use BeyondCode\LaravelWebSockets\Facades\StatisticsLogger;
12 6
 use BeyondCode\LaravelWebSockets\Facades\WebSocketsRouter;
13
-use BeyondCode\LaravelWebSockets\Server\Logger\HttpLogger;
14
-use BeyondCode\LaravelWebSockets\Server\WebSocketServerFactory;
15 7
 use BeyondCode\LaravelWebSockets\Server\Logger\ConnectionLogger;
8
+use BeyondCode\LaravelWebSockets\Server\Logger\HttpLogger;
16 9
 use BeyondCode\LaravelWebSockets\Server\Logger\WebsocketsLogger;
17
-use BeyondCode\LaravelWebSockets\WebSockets\Channels\ChannelManager;
10
+use BeyondCode\LaravelWebSockets\Server\WebSocketServerFactory;
11
+use BeyondCode\LaravelWebSockets\Statistics\DnsResolver;
18 12
 use BeyondCode\LaravelWebSockets\Statistics\Logger\HttpStatisticsLogger;
19 13
 use BeyondCode\LaravelWebSockets\Statistics\Logger\StatisticsLogger as StatisticsLoggerInterface;
14
+use BeyondCode\LaravelWebSockets\WebSockets\Channels\ChannelManager;
15
+use Clue\React\Buzz\Browser;
16
+use Illuminate\Console\Command;
17
+use Illuminate\Contracts\Config\Repository;
18
+use React\EventLoop\Factory as LoopFactory;
19
+use React\Socket\Connector;
20 20
 
21 21
 class StartWebSocketServer extends Command
22 22
 {
Please login to merge, or discard this patch.
src/Server/WebSocketServerFactory.php 1 patch
Unused Use Statements   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -2,18 +2,18 @@
 block discarded – undo
2 2
 
3 3
 namespace BeyondCode\LaravelWebSockets\Server;
4 4
 
5
+use BeyondCode\LaravelWebSockets\Server\Logger\HttpLogger;
6
+use Illuminate\Contracts\Config\Repository;
5 7
 use Ratchet\Http\Router;
6
-use React\Socket\Server;
7 8
 use Ratchet\Server\IoServer;
8
-use React\Socket\SecureServer;
9
-use React\EventLoop\LoopInterface;
10
-use Illuminate\Contracts\Config\Repository;
11 9
 use React\EventLoop\Factory as LoopFactory;
10
+use React\EventLoop\LoopInterface;
11
+use React\Socket\SecureServer;
12
+use React\Socket\Server;
13
+use Symfony\Component\Console\Output\OutputInterface;
14
+use Symfony\Component\Routing\Matcher\UrlMatcher;
12 15
 use Symfony\Component\Routing\RequestContext;
13 16
 use Symfony\Component\Routing\RouteCollection;
14
-use Symfony\Component\Routing\Matcher\UrlMatcher;
15
-use Symfony\Component\Console\Output\OutputInterface;
16
-use BeyondCode\LaravelWebSockets\Server\Logger\HttpLogger;
17 17
 
18 18
 class WebSocketServerFactory
19 19
 {
Please login to merge, or discard this patch.
src/WebSocketsServiceProvider.php 1 patch
Unused Use Statements   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -2,20 +2,20 @@
 block discarded – undo
2 2
 
3 3
 namespace BeyondCode\LaravelWebSockets;
4 4
 
5
-use Illuminate\Support\Facades\Gate;
6
-use Illuminate\Support\Facades\Route;
7
-use Illuminate\Support\ServiceProvider;
8
-use Illuminate\Contracts\Config\Repository;
9
-use BeyondCode\LaravelWebSockets\Server\Router;
10 5
 use BeyondCode\LaravelWebSockets\Apps\AppProvider;
11
-use BeyondCode\LaravelWebSockets\WebSockets\Channels\ChannelManager;
12
-use BeyondCode\LaravelWebSockets\Dashboard\Http\Controllers\SendMessage;
13
-use BeyondCode\LaravelWebSockets\Dashboard\Http\Controllers\ShowDashboard;
14 6
 use BeyondCode\LaravelWebSockets\Dashboard\Http\Controllers\AuthenticateDashboard;
15 7
 use BeyondCode\LaravelWebSockets\Dashboard\Http\Controllers\DashboardApiController;
8
+use BeyondCode\LaravelWebSockets\Dashboard\Http\Controllers\SendMessage;
9
+use BeyondCode\LaravelWebSockets\Dashboard\Http\Controllers\ShowDashboard;
16 10
 use BeyondCode\LaravelWebSockets\Dashboard\Http\Middleware\Authorize as AuthorizeDashboard;
17
-use BeyondCode\LaravelWebSockets\Statistics\Http\Middleware\Authorize as AuthorizeStatistics;
11
+use BeyondCode\LaravelWebSockets\Server\Router;
18 12
 use BeyondCode\LaravelWebSockets\Statistics\Http\Controllers\WebSocketStatisticsEntriesController;
13
+use BeyondCode\LaravelWebSockets\Statistics\Http\Middleware\Authorize as AuthorizeStatistics;
14
+use BeyondCode\LaravelWebSockets\WebSockets\Channels\ChannelManager;
15
+use Illuminate\Contracts\Config\Repository;
16
+use Illuminate\Support\Facades\Gate;
17
+use Illuminate\Support\Facades\Route;
18
+use Illuminate\Support\ServiceProvider;
19 19
 
20 20
 class WebSocketsServiceProvider extends ServiceProvider
21 21
 {
Please login to merge, or discard this patch.