Passed
Push — master ( b2b84f...109e7c )
by Thomas Mauro
03:02
created
src/Factory/Command/FailedMessagesRemoveCommandFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
         return new FailedMessagesRemoveCommand(
32 32
             $failureTransportName,
33 33
             new ServiceProvider([
34
-                $failureTransportName => static function () use ($receiverLocator, $failureTransportName) { return $receiverLocator->get($failureTransportName); },
34
+                $failureTransportName => static function() use ($receiverLocator, $failureTransportName) { return $receiverLocator->get($failureTransportName); },
35 35
             ]),
36 36
         );
37 37
     }
Please login to merge, or discard this patch.
src/Factory/Command/FailedMessagesShowCommandFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
         return new FailedMessagesShowCommand(
31 31
             $failureTransportName,
32 32
             new ServiceProvider([
33
-                $failureTransportName => static function () use ($receiverLocator, $failureTransportName) { return $receiverLocator->get($failureTransportName); },
33
+                $failureTransportName => static function() use ($receiverLocator, $failureTransportName) { return $receiverLocator->get($failureTransportName); },
34 34
             ]),
35 35
         );
36 36
     }
Please login to merge, or discard this patch.
src/Factory/Command/FailedMessagesRetryCommandFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
         return new FailedMessagesRetryCommand(
43 43
             $failureTransportName,
44 44
             new ServiceProvider([
45
-                $failureTransportName => static function () use ($receiverLocator, $failureTransportName) { return $receiverLocator->get($failureTransportName); },
45
+                $failureTransportName => static function() use ($receiverLocator, $failureTransportName) { return $receiverLocator->get($failureTransportName); },
46 46
             ]),
47 47
             $messageBus,
48 48
             $container->get($eventDispatcher),
Please login to merge, or discard this patch.
src/Factory/MessageBusFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
73 73
      */
74 74
     public static function __callStatic(string $name, array $arguments): MessageBusInterface
75 75
     {
76
-        if (! array_key_exists(0, $arguments) || ! $arguments[0] instanceof ContainerInterface) {
76
+        if (!array_key_exists(0, $arguments) || !$arguments[0] instanceof ContainerInterface) {
77 77
             throw new InvalidArgumentException(sprintf(
78 78
                 'The first argument must be of type %s',
79 79
                 ContainerInterface::class
Please login to merge, or discard this patch.
src/Factory/Retry/RetryStrategyLocatorFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
         $factories = [];
23 23
 
24 24
         foreach ($transports as $name => $_) {
25
-            $factories[$name] = static function () use ($name, $container): RetryStrategyInterface {
25
+            $factories[$name] = static function() use ($name, $container): RetryStrategyInterface {
26 26
                 return (new RetryStrategyFactory($name))($container);
27 27
             };
28 28
         }
Please login to merge, or discard this patch.
src/Handler/ContainerHandlersLocator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -47,11 +47,11 @@
 block discarded – undo
47 47
                     $handlerDescriptor = new HandlerDescriptor($this->container->get($handlerDescriptor));
48 48
                 }
49 49
 
50
-                if (! $handlerDescriptor instanceof HandlerDescriptor) {
50
+                if (!$handlerDescriptor instanceof HandlerDescriptor) {
51 51
                     throw new InvalidArgumentException('Invalid handler descriptor provided');
52 52
                 }
53 53
 
54
-                if (! $this->shouldHandle($envelope, $handlerDescriptor)) {
54
+                if (!$this->shouldHandle($envelope, $handlerDescriptor)) {
55 55
                     continue;
56 56
                 }
57 57
                 $name = $handlerDescriptor->getName();
Please login to merge, or discard this patch.
src/ServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
 
28 28
     public function get(string $id): mixed
29 29
     {
30
-        if (! array_key_exists($id, $this->factories)) {
30
+        if (!array_key_exists($id, $this->factories)) {
31 31
             throw new ServiceNotFoundException(sprintf('Service %s not found', $id));
32 32
         }
33 33
 
Please login to merge, or discard this patch.