Passed
Push — master ( 1c57c3...5dc58b )
by Sam
05:05
created
src/Server.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 namespace SamIT\Proxy;
5 5
 
6 6
 
7
-use React\Dns\Resolver\Factory;
8 7
 use React\Dns\Resolver\Resolver;
9 8
 use React\EventLoop\LoopInterface;
10 9
 
Please login to merge, or discard this patch.
src/ForwardingServer.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
 
48 48
         $this->forwarder->forward($incoming, $this->forwardAddress, $this->forwardPort)->then(function(Stream $outgoing) use ($incoming) {
49 49
             $outgoing->on('init', function() use ($outgoing, $incoming) {
50
-               $this->emit('connection', [$incoming, $this->createConnection($outgoing->stream, false)]);
50
+                $this->emit('connection', [$incoming, $this->createConnection($outgoing->stream, false)]);
51 51
             });
52 52
         });
53 53
 
Please login to merge, or discard this patch.
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -4,10 +4,7 @@
 block discarded – undo
4 4
 namespace SamIT\Proxy;
5 5
 
6 6
 
7
-use React\Dns\Resolver\Factory;
8
-use React\Dns\Resolver\Resolver;
9 7
 use React\EventLoop\LoopInterface;
10
-use React\Socket\Connection;
11 8
 use React\SocketClient\TcpConnector;
12 9
 use React\Stream\Stream;
13 10
 
Please login to merge, or discard this patch.