Test Failed
Push — master ( 03d194...65e001 )
by Adam
03:04 queued 55s
created
src/IPub/WebSocketsZMQ/Pusher/Pusher.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
 			return;
79 79
 		}
80 80
 
81
-		$this->socket->disconnect($this->configuration->getHost() . ':' . $this->configuration->getPort());
81
+		$this->socket->disconnect($this->configuration->getHost().':'.$this->configuration->getPort());
82 82
 	}
83 83
 
84 84
 	/**
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
 			$context = new \ZMQContext(1, $this->configuration->isPersistent());
99 99
 
100 100
 			$this->socket = new \ZMQSocket($context, \ZMQ::SOCKET_PUSH);
101
-			$this->socket->connect($this->configuration->getProtocol() . '://' . $this->configuration->getHost() . ':' . $this->configuration->getPort());
101
+			$this->socket->connect($this->configuration->getProtocol().'://'.$this->configuration->getHost().':'.$this->configuration->getPort());
102 102
 
103 103
 			$this->setConnected();
104 104
 		}
Please login to merge, or discard this patch.
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -17,12 +17,9 @@
 block discarded – undo
17 17
 namespace IPub\WebSocketsZMQ\Pusher;
18 18
 
19 19
 use Psr\Log;
20
-
21 20
 use IPub;
22 21
 use IPub\WebSocketsZMQ;
23
-
24 22
 use IPub\WebSockets\Router;
25
-
26 23
 use IPub\WebSocketsWAMP\PushMessages;
27 24
 use IPub\WebSocketsWAMP\Serializers;
28 25
 
Please login to merge, or discard this patch.
src/IPub/WebSocketsZMQ/Consumer/Consumer.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@
 block discarded – undo
92 92
 			$this->configuration->getPort()
93 93
 		));
94 94
 
95
-		$this->socket->bind($this->configuration->getProtocol() . '://' . $this->configuration->getHost() . ':' . $this->configuration->getPort());
95
+		$this->socket->bind($this->configuration->getProtocol().'://'.$this->configuration->getHost().':'.$this->configuration->getPort());
96 96
 
97 97
 		$this->socket->on('message', function ($data) use ($application) {
98 98
 			try {
Please login to merge, or discard this patch.
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -17,14 +17,10 @@
 block discarded – undo
17 17
 namespace IPub\WebSocketsZMQ\Consumer;
18 18
 
19 19
 use Psr\Log;
20
-
21
-use React;
22 20
 use React\EventLoop;
23 21
 use React\ZMQ;
24
-
25 22
 use IPub;
26 23
 use IPub\WebSocketsZMQ;
27
-
28 24
 use IPub\WebSocketsWAMP\Application;
29 25
 use IPub\WebSocketsWAMP\Entities;
30 26
 use IPub\WebSocketsWAMP\PushMessages;
Please login to merge, or discard this patch.