Test Failed
Pull Request — master (#37)
by
unknown
06:57
created
RabbitMq/Binding.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,12 +34,12 @@
 block discarded – undo
34 34
      */
35 35
     protected $arguments;
36 36
 
37
-     public function getExchange(): string
37
+        public function getExchange(): string
38 38
     {
39 39
         return $this->exchange;
40 40
     }
41 41
 
42
-     public function setExchange(string $exchange): void
42
+        public function setExchange(string $exchange): void
43 43
     {
44 44
         $this->exchange = $exchange;
45 45
     }
Please login to merge, or discard this patch.
RabbitMq/RpcServer.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
     public function initServer(string $name): void
13 13
     {
14 14
         $this->setExchangeOptions(array('name' => $name, 'type' => 'direct'));
15
-        $this->setQueueOptions(array('name' => $name . '-queue'));
15
+        $this->setQueueOptions(array('name' => $name.'-queue'));
16 16
     }
17 17
 
18 18
     public function processMessage(AMQPMessage $msg): void
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
             $this->consumed++;
26 26
             $this->maybeStopConsumer();
27 27
         } catch (\Exception $e) {
28
-            $this->sendReply('error: ' . $e->getMessage(), $msg->get('reply_to'), $msg->get('correlation_id'));
28
+            $this->sendReply('error: '.$e->getMessage(), $msg->get('reply_to'), $msg->get('correlation_id'));
29 29
         }
30 30
     }
31 31
 
Please login to merge, or discard this patch.
RabbitMq/BaseConsumer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
     /**
44 44
      * @throws \ErrorException
45 45
      */
46
-    public function start (int $msgAmount = 0): void
46
+    public function start(int $msgAmount = 0): void
47 47
     {
48 48
         $this->target = $msgAmount;
49 49
 
Please login to merge, or discard this patch.
RabbitMq/BaseAmqp.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -207,7 +207,7 @@
 block discarded – undo
207 207
     protected function queueDeclare(): void
208 208
     {
209 209
         if ($this->queueOptions['declare']) {
210
-            list($queueName, ,) = $this->getChannel()->queue_declare($this->queueOptions['name'], $this->queueOptions['passive'],
210
+            list($queueName,,) = $this->getChannel()->queue_declare($this->queueOptions['name'], $this->queueOptions['passive'],
211 211
                 $this->queueOptions['durable'], $this->queueOptions['exclusive'],
212 212
                 $this->queueOptions['auto_delete'], $this->queueOptions['nowait'],
213 213
                 $this->queueOptions['arguments'], $this->queueOptions['ticket']);
Please login to merge, or discard this patch.
Command/BaseConsumerCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -109,7 +109,7 @@
 block discarded – undo
109 109
         $this->consumer = $this->getContainer()
110 110
                 ->get(sprintf($this->getConsumerService(), $input->getArgument('name')));
111 111
 
112
-        if (!is_null($input->getOption('memory-limit')) && ctype_digit((string) $input->getOption('memory-limit')) && (int)$input->getOption('memory-limit') > 0) {
112
+        if (!is_null($input->getOption('memory-limit')) && ctype_digit((string) $input->getOption('memory-limit')) && (int) $input->getOption('memory-limit') > 0) {
113 113
             $this->consumer->setMemoryLimit($input->getOption('memory-limit'));
114 114
         }
115 115
         $this->consumer->setRoutingKey($input->getOption('route'));
Please login to merge, or discard this patch.