Test Setup Failed
Pull Request — master (#3)
by Sebastien
03:11
created
src/Connection.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,11 +2,9 @@
 block discarded – undo
2 2
 namespace SamIT\React\Smtp;
3 3
 
4 4
 
5
-use React\Dns\Query\TimeoutException;
6 5
 use React\EventLoop\LoopInterface;
7 6
 use React\EventLoop\Timer\TimerInterface;
8 7
 use React\Socket\ConnectionInterface;
9
-use React\Stream\WritableStream;
10 8
 
11 9
 class Connection extends \React\Socket\Connection{
12 10
     const STATUS_NEW = 0;
Please login to merge, or discard this patch.
src/Server.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -2,11 +2,7 @@
 block discarded – undo
2 2
 
3 3
 namespace SamIT\React\Smtp;
4 4
 
5
-use Evenement\EventEmitter;
6 5
 use React\EventLoop\LoopInterface;
7
-use React\Http\ServerInterface;
8
-use React\Socket\ServerInterface as SocketServerInterface;
9
-use React\Socket\ConnectionInterface;
10 6
 
11 7
 /** @event request */
12 8
 class Server extends \React\Socket\Server
Please login to merge, or discard this patch.
src/Message.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,5 +3,5 @@
 block discarded – undo
3 3
 
4 4
 class Message implements MessageInterface
5 5
 {
6
-   use MessageTrait;
6
+    use MessageTrait;
7 7
 }
8 8
\ No newline at end of file
Please login to merge, or discard this patch.
src/MessageTrait.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -57,12 +57,12 @@
 block discarded – undo
57 57
         return $this->withRecipients([$email => $name]);
58 58
     }
59 59
 
60
-   public function withRecipients(array $recipients)
61
-   {
62
-       $new = clone $this;
63
-       $new->recipients = $recipients;
64
-       return $new;
65
-   }
60
+    public function withRecipients(array $recipients)
61
+    {
62
+        $new = clone $this;
63
+        $new->recipients = $recipients;
64
+        return $new;
65
+    }
66 66
 
67 67
     public function withAddedRecipient($email, $name = null)
68 68
     {
Please login to merge, or discard this patch.