Completed
Push — master ( 8c00fa...653f23 )
by Mihai
03:21
created
Tests/RabbitMq/MultipleConsumerTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -246,14 +246,14 @@  discard block
 block discarded – undo
246 246
     {
247 247
         $this->amqpChannel->expects($this->any())
248 248
             ->method('basic_reject')
249
-            ->will($this->returnCallback(function ($delivery_tag, $requeue) use ($expectedMethod, $expectedRequeue) {
249
+            ->will($this->returnCallback(function($delivery_tag, $requeue) use ($expectedMethod, $expectedRequeue) {
250 250
                 Assert::assertSame($expectedMethod, 'basic_reject'); // Check if this function should be called.
251 251
                 Assert::assertSame($requeue, $expectedRequeue); // Check if the message should be requeued.
252 252
             }));
253 253
 
254 254
         $this->amqpChannel->expects($this->any())
255 255
             ->method('basic_ack')
256
-            ->will($this->returnCallback(function ($delivery_tag) use ($expectedMethod) {
256
+            ->will($this->returnCallback(function($delivery_tag) use ($expectedMethod) {
257 257
                 Assert::assertSame($expectedMethod, 'basic_ack'); // Check if this function should be called.
258 258
             }));
259 259
     }
@@ -266,7 +266,7 @@  discard block
 block discarded – undo
266 266
      */
267 267
     private function prepareCallback($processFlag)
268 268
     {
269
-        return function ($msg) use ($processFlag) {
269
+        return function($msg) use ($processFlag) {
270 270
             return $processFlag;
271 271
         };
272 272
     }
Please login to merge, or discard this patch.
Command/RpcServerCommand.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,8 +42,8 @@
 block discarded – undo
42 42
         }
43 43
 
44 44
         $this->getContainer()
45
-               ->get(sprintf('old_sound_rabbit_mq.%s_server', $input->getArgument('name')))
46
-               ->start($amount);
45
+                ->get(sprintf('old_sound_rabbit_mq.%s_server', $input->getArgument('name')))
46
+                ->start($amount);
47 47
 
48 48
         return 0;
49 49
     }
Please login to merge, or discard this patch.