Passed
Push — master ( 090f5f...44930c )
by Thomas Mauro
02:07
created
src/Factory/Listener/StopWorkerOnRestartSignalListenerFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
 
24 24
         $cachePoolForRestartSignal = $config['messenger']['cache_pool_for_restart_signal'] ?? null;
25 25
 
26
-        if (! $cachePoolForRestartSignal) {
26
+        if (!$cachePoolForRestartSignal) {
27 27
             throw new InvalidArgumentException('Invalid cache_pool_for_restart_signal service');
28 28
         }
29 29
 
Please login to merge, or discard this patch.
src/Factory/Transport/TransportProviderFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
         $transportNames = array_keys($config['messenger']['transports'] ?? []);
22 22
 
23 23
         foreach ($transportNames as $name) {
24
-            $factories[(string) $name] = static function () use ($name, $container): TransportInterface {
24
+            $factories[(string) $name] = static function() use ($name, $container): TransportInterface {
25 25
                 /** @var TransportInterface $transport */
26 26
                 $transport = $container->get((string) $name);
27 27
 
Please login to merge, or discard this patch.
src/Factory/Transport/TransportFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@
 block discarded – undo
68 68
      */
69 69
     public static function __callStatic(string $name, array $arguments): TransportInterface
70 70
     {
71
-        if (! array_key_exists(0, $arguments) || ! $arguments[0] instanceof ContainerInterface) {
71
+        if (!array_key_exists(0, $arguments) || !$arguments[0] instanceof ContainerInterface) {
72 72
             throw new InvalidArgumentException(sprintf(
73 73
                 'The first argument must be of type %s',
74 74
                 ContainerInterface::class
Please login to merge, or discard this patch.
src/Factory/Transport/Sender/SendersLocatorFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
         $routing = $config['messenger']['buses'][$this->busName]['routes'] ?? [];
35 35
 
36 36
         foreach ($routing as $message => $_) {
37
-            if ('*' !== $message && ! class_exists((string) $message) && ! interface_exists((string) $message, false)) {
37
+            if ('*' !== $message && !class_exists((string) $message) && !interface_exists((string) $message, false)) {
38 38
                 throw new LogicException(sprintf('Invalid Messenger routing configuration: class or interface "%s" not found.', $message));
39 39
             }
40 40
         }
Please login to merge, or discard this patch.
src/Factory/RoutableMessageBusFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
      */
41 41
     public static function __callStatic(string $name, array $arguments): MessageBusInterface
42 42
     {
43
-        if (! array_key_exists(0, $arguments) || ! $arguments[0] instanceof ContainerInterface) {
43
+        if (!array_key_exists(0, $arguments) || !$arguments[0] instanceof ContainerInterface) {
44 44
             throw new InvalidArgumentException(sprintf(
45 45
                 'The first argument must be of type %s',
46 46
                 ContainerInterface::class
Please login to merge, or discard this patch.
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/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.