Test Setup Failed
Push — master ( fb2977...d72aa4 )
by Adam
46s queued 12s
created
src/IPub/WebSocketsZMQ/Pusher/Pusher.php 2 patches
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
  * @date           01.03.17
13 13
  */
14 14
 
15
-declare(strict_types = 1);
15
+declare(strict_types=1);
16 16
 
17 17
 namespace IPub\WebSocketsZMQ\Pusher;
18 18
 
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
 			return;
87 87
 		}
88 88
 
89
-		$this->socket->disconnect($this->configuration->getHost() . ':' . $this->configuration->getPort());
89
+		$this->socket->disconnect($this->configuration->getHost().':'.$this->configuration->getPort());
90 90
 	}
91 91
 
92 92
 	/**
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
 			$context = new ZMQContext(1, $this->configuration->isPersistent());
109 109
 
110 110
 			$this->socket = new ZMQSocket($context, ZMQ::SOCKET_PUSH);
111
-			$this->socket->connect($this->configuration->getProtocol() . '://' . $this->configuration->getHost() . ':' . $this->configuration->getPort());
111
+			$this->socket->connect($this->configuration->getProtocol().'://'.$this->configuration->getHost().':'.$this->configuration->getPort());
112 112
 
113 113
 			$this->setConnected();
114 114
 		}
Please login to merge, or discard this patch.
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -21,14 +21,10 @@
 block discarded – undo
21 21
 use ZMQSocket;
22 22
 use ZMQSocketException;
23 23
 use RuntimeException;
24
-
25 24
 use Psr\Log;
26
-
27 25
 use IPub;
28 26
 use IPub\WebSocketsZMQ;
29
-
30 27
 use IPub\WebSockets\Router;
31
-
32 28
 use IPub\WebSocketsWAMP\PushMessages;
33 29
 use IPub\WebSocketsWAMP\Serializers;
34 30
 
Please login to merge, or discard this patch.
src/IPub/WebSocketsZMQ/Consumer/Consumer.php 1 patch
Unused Use Statements   -6 removed lines patch added patch discarded remove patch
@@ -20,21 +20,15 @@
 block discarded – undo
20 20
 use ZMQ;
21 21
 use ZMQSocketException;
22 22
 use Throwable;
23
-
24 23
 use Psr\Log;
25
-
26
-use React;
27 24
 use React\EventLoop;
28 25
 use React\ZMQ as ReactZMQ;
29
-
30 26
 use IPub;
31 27
 use IPub\WebSocketsZMQ;
32
-
33 28
 use IPub\WebSocketsWAMP\Application;
34 29
 use IPub\WebSocketsWAMP\Entities;
35 30
 use IPub\WebSocketsWAMP\PushMessages;
36 31
 use IPub\WebSocketsWAMP\Serializers;
37
-
38 32
 use IPub\WebSockets\Exceptions as WebSocketsExceptions;
39 33
 
40 34
 /**
Please login to merge, or discard this patch.