Completed
Pull Request — master (#3)
by Aldo
03:20
created
src/Queue/Adapter/RabbitAdapter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Linio\Component\Queue\Adapter;
5 5
 
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
     {
38 38
         $this->getChannel()->queue_declare($job->getQueue(), true, $job->isPersistent(), false, false);
39 39
         $this->getChannel()->basic_qos(null, 1, null);
40
-        $this->getChannel()->basic_consume($job->getQueue(), '', false, false, false, false, function ($message) use ($job) {
40
+        $this->getChannel()->basic_consume($job->getQueue(), '', false, false, false, false, function($message) use ($job) {
41 41
             $job->setPayload($message->body);
42 42
             $job->perform();
43 43
 
Please login to merge, or discard this patch.
src/Queue/Provider/QueueServiceProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Linio\Component\Queue\Provider;
5 5
 
@@ -16,14 +16,14 @@  discard block
 block discarded – undo
16 16
             $container['queue.adapter_name'] = 'null';
17 17
         }
18 18
 
19
-        $container['queue.adapter'] = $container->factory(function ($container) {
19
+        $container['queue.adapter'] = $container->factory(function($container) {
20 20
             $adapterFactory = new AdapterFactory();
21 21
             $adapter = $adapterFactory->getAdapter($container['queue.adapter_name'], $container['queue.adapter_options']);
22 22
 
23 23
             return $adapter;
24 24
         });
25 25
 
26
-        $container['queue.service'] = function ($container) {
26
+        $container['queue.service'] = function($container) {
27 27
             $queueService = new QueueService();
28 28
             $queueService->setAdapter($container['queue.adapter']);
29 29
             $queueService->setLogger($container['monolog']);
Please login to merge, or discard this patch.
src/Queue/QueueAware.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Linio\Component\Queue;
5 5
 
Please login to merge, or discard this patch.
src/Queue/Adapter/NullAdapter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Linio\Component\Queue;
5 5
 
Please login to merge, or discard this patch.
src/Queue/AdapterFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Linio\Component\Queue;
5 5
 
Please login to merge, or discard this patch.
src/Queue/AdapterInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Linio\Component\Queue;
5 5
 
Please login to merge, or discard this patch.
src/Queue/Job.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Linio\Component\Queue;
5 5
 
Please login to merge, or discard this patch.
src/Queue/PersistentJob.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Linio\Component\Queue;
5 5
 
Please login to merge, or discard this patch.
src/Queue/QueueService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Linio\Component\Queue;
5 5
 
Please login to merge, or discard this patch.