Completed
Push — master ( 24141f...fb2977 )
by Adam
03:59
created
src/IPub/WebSocketsZMQ/DI/WebSocketsZMQExtension.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,6 @@
 block discarded – undo
18 18
 
19 19
 use Nette;
20 20
 use Nette\DI;
21
-
22 21
 use IPub;
23 22
 use IPub\WebSocketsZMQ;
24 23
 use IPub\WebSocketsZMQ\Consumer;
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 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\DI;
18 18
 
Please login to merge, or discard this patch.
src/IPub/WebSocketsZMQ/Consumer/Consumer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
  * @date           28.02.17
13 13
  */
14 14
 
15
-declare(strict_types = 1);
15
+declare(strict_types=1);
16 16
 
17 17
 namespace IPub\WebSocketsZMQ\Consumer;
18 18
 
@@ -92,7 +92,7 @@  discard block
 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.
src/IPub/WebSocketsZMQ/Pusher/Pusher.php 1 patch
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
 
@@ -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.
src/IPub/WebSocketsZMQ/Configuration.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
  * @date           28.02.17
13 13
  */
14 14
 
15
-declare(strict_types = 1);
15
+declare(strict_types=1);
16 16
 
17 17
 namespace IPub\WebSocketsZMQ;
18 18
 
Please login to merge, or discard this patch.