Test Failed
Pull Request — master (#37)
by
unknown
07:43
created
Command/PurgeConsumerCommand.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,8 +16,8 @@
 block discarded – undo
16 16
     protected function configure(): void
17 17
     {
18 18
         $this->addArgument('name', InputArgument::REQUIRED, 'Consumer Name')
19
-             ->setDescription('Purge a consumer\'s queue')
20
-             ->addOption('no-confirmation', null, InputOption::VALUE_NONE, 'Whether it must be confirmed before purging');
19
+                ->setDescription('Purge a consumer\'s queue')
20
+                ->addOption('no-confirmation', null, InputOption::VALUE_NONE, 'Whether it must be confirmed before purging');
21 21
 
22 22
         $this->setName('rabbitmq:purge');
23 23
     }
Please login to merge, or discard this patch.
Command/BaseConsumerCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
         }
101 101
         $this->initConsumer($input);
102 102
 
103
-        return $this->consumer->consume((int)$this->amount);
103
+        return $this->consumer->consume((int) $this->amount);
104 104
     }
105 105
 
106 106
     protected function initConsumer(InputInterface $input): void
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
         $this->consumer = $this->getContainer()
109 109
                 ->get(sprintf($this->getConsumerService(), $input->getArgument('name')));
110 110
 
111
-        if (!is_null($input->getOption('memory-limit')) && ctype_digit((string) $input->getOption('memory-limit')) && (int)$input->getOption('memory-limit') > 0) {
111
+        if (!is_null($input->getOption('memory-limit')) && ctype_digit((string) $input->getOption('memory-limit')) && (int) $input->getOption('memory-limit') > 0) {
112 112
             $this->consumer->setMemoryLimit($input->getOption('memory-limit'));
113 113
         }
114 114
         $this->consumer->setRoutingKey($input->getOption('route'));
Please login to merge, or discard this patch.
Command/DeleteCommand.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,8 +16,8 @@
 block discarded – undo
16 16
     protected function configure(): void
17 17
     {
18 18
         $this->addArgument('name', InputArgument::REQUIRED, 'Consumer Name')
19
-             ->setDescription('Delete a consumer\'s queue')
20
-             ->addOption('no-confirmation', null, InputOption::VALUE_NONE, 'Whether it must be confirmed before deleting');
19
+                ->setDescription('Delete a consumer\'s queue')
20
+                ->addOption('no-confirmation', null, InputOption::VALUE_NONE, 'Whether it must be confirmed before deleting');
21 21
 
22 22
         $this->setName('rabbitmq:delete');
23 23
     }
Please login to merge, or discard this patch.