Test Failed
Pull Request — master (#3)
by Adam
10:26 queued 01:38
created
src/IPub/MQTTClient/Logger/Formatter/IFormatter.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           26.02.17
13 13
  */
14 14
 
15
-declare(strict_types = 1);
15
+declare(strict_types=1);
16 16
 
17 17
 namespace IPub\MQTTClient\Logger\Formatter;
18 18
 
Please login to merge, or discard this patch.
src/IPub/MQTTClient/Exceptions/RuntimeException.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           13.03.17
13 13
  */
14 14
 
15
-declare(strict_types = 1);
15
+declare(strict_types=1);
16 16
 
17 17
 namespace IPub\MQTTClient\Exceptions;
18 18
 
Please login to merge, or discard this patch.
src/IPub/MQTTClient/Exceptions/LogicException.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           13.03.17
13 13
  */
14 14
 
15
-declare(strict_types = 1);
15
+declare(strict_types=1);
16 16
 
17 17
 namespace IPub\MQTTClient\Exceptions;
18 18
 
Please login to merge, or discard this patch.
src/IPub/MQTTClient/DI/MQTTClientExtension.php 2 patches
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           12.03.17
13 13
  */
14 14
 
15
-declare(strict_types = 1);
15
+declare(strict_types=1);
16 16
 
17 17
 namespace IPub\MQTTClient\DI;
18 18
 
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
 			];
143 143
 
144 144
 			foreach ($commands as $name => $cmd) {
145
-				$builder->addDefinition($this->prefix('commands' . lcfirst($name)))
145
+				$builder->addDefinition($this->prefix('commands'.lcfirst($name)))
146 146
 					->setType($cmd);
147 147
 			}
148 148
 		}
Please login to merge, or discard this patch.
Unused Use Statements   -6 removed lines patch added patch discarded remove patch
@@ -18,16 +18,10 @@
 block discarded – undo
18 18
 
19 19
 use Nette;
20 20
 use Nette\DI;
21
-use Nette\PhpGenerator as Code;
22
-
23 21
 use BinSoul\Net\Mqtt;
24
-
25 22
 use Symfony\Component\EventDispatcher;
26
-
27 23
 use React;
28
-
29 24
 use Psr\Log;
30
-
31 25
 use IPub\MQTTClient;
32 26
 use IPub\MQTTClient\Client;
33 27
 use IPub\MQTTClient\Commands;
Please login to merge, or discard this patch.
src/IPub/MQTTClient/Events/SubscribeEvent.php 2 patches
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,6 @@
 block discarded – undo
41 41
 	private $client;
42 42
 
43 43
 	/**
44
-	 * @param Mqtt\Message $message
45 44
 	 * @param Client\IClient $client
46 45
 	 */
47 46
 	public function __construct(
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -15,9 +15,7 @@
 block discarded – undo
15 15
 namespace IPub\MQTTClient\Events;
16 16
 
17 17
 use Symfony\Contracts\EventDispatcher;
18
-
19 18
 use BinSoul\Net\Mqtt;
20
-
21 19
 use IPub\MQTTClient\Client;
22 20
 
23 21
 /**
Please login to merge, or discard this patch.
src/IPub/MQTTClient/Events/UnsubscribeEvent.php 2 patches
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,6 @@
 block discarded – undo
41 41
 	private $client;
42 42
 
43 43
 	/**
44
-	 * @param Mqtt\Message $message
45 44
 	 * @param Client\IClient $client
46 45
 	 */
47 46
 	public function __construct(
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -15,9 +15,7 @@
 block discarded – undo
15 15
 namespace IPub\MQTTClient\Events;
16 16
 
17 17
 use Symfony\Contracts\EventDispatcher;
18
-
19 18
 use BinSoul\Net\Mqtt;
20
-
21 19
 use IPub\MQTTClient\Client;
22 20
 
23 21
 /**
Please login to merge, or discard this patch.