Passed
Push — master ( 090f5f...44930c )
by Thomas Mauro
02:07
created
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.
src/Factory/Transport/Receiver/ReceiversLocatorFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
         $receivers = $config['messenger']['receivers'] ?? [];
28 28
 
29 29
         foreach ($transportNames as $name) {
30
-            $factories[$name] = static function () use ($name, $container): ReceiverInterface {
30
+            $factories[$name] = static function() use ($name, $container): ReceiverInterface {
31 31
                 return $container->get($name);
32 32
             };
33 33
         }
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
                 throw new InvalidArgumentException(sprintf('A receiver named "%s" already exists as a transport name', $name));
38 38
             }
39 39
 
40
-            $factories[$name] = static function () use ($serviceName, $container): ReceiverInterface {
40
+            $factories[$name] = static function() use ($serviceName, $container): ReceiverInterface {
41 41
                 return $container->get($serviceName);
42 42
             };
43 43
         }
Please login to merge, or discard this patch.
src/Factory/Transport/TransportFactoryFactory.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 ($transportFactories as $name) {
25
-            if (! $container->has($name)) {
25
+            if (!$container->has($name)) {
26 26
                 continue;
27 27
             }
28 28
             try {
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
@@ -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/Middleware/HandleMessageMiddlewareFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
      */
30 30
     public static function __callStatic(string $name, array $arguments): MiddlewareInterface
31 31
     {
32
-        if (! array_key_exists(0, $arguments) || ! $arguments[0] instanceof ContainerInterface) {
32
+        if (!array_key_exists(0, $arguments) || !$arguments[0] instanceof ContainerInterface) {
33 33
             throw new InvalidArgumentException(sprintf(
34 34
                 'The first argument must be of type %s',
35 35
                 ContainerInterface::class
Please login to merge, or discard this patch.
src/Factory/Middleware/SendMessageMiddlewareFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
      */
30 30
     public static function __callStatic(string $name, array $arguments): MiddlewareInterface
31 31
     {
32
-        if (! array_key_exists(0, $arguments) || ! $arguments[0] instanceof ContainerInterface) {
32
+        if (!array_key_exists(0, $arguments) || !$arguments[0] instanceof ContainerInterface) {
33 33
             throw new InvalidArgumentException(sprintf(
34 34
                 'The first argument must be of type %s',
35 35
                 ContainerInterface::class
Please login to merge, or discard this patch.
src/Factory/Middleware/AddBusNameStampMiddlewareFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
      */
30 30
     public static function __callStatic(string $name, array $arguments): MiddlewareInterface
31 31
     {
32
-        if (! array_key_exists(0, $arguments) || ! $arguments[0] instanceof ContainerInterface) {
32
+        if (!array_key_exists(0, $arguments) || !$arguments[0] instanceof ContainerInterface) {
33 33
             throw new InvalidArgumentException(sprintf(
34 34
                 'The first argument must be of type %s',
35 35
                 ContainerInterface::class
Please login to merge, or discard this patch.
src/Bridge/Doctrine/Factory/Transport/DoctrineTransportFactoryFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
 {
18 18
     public function __invoke(ContainerInterface $container): TransportFactoryInterface
19 19
     {
20
-        if (! class_exists(DoctrineTransportFactory::class)) {
20
+        if (!class_exists(DoctrineTransportFactory::class)) {
21 21
             return new UnsupportedTransportFactory();
22 22
         }
23 23
 
Please login to merge, or discard this patch.
Bridge/Doctrine/Factory/Middleware/AbstractDoctrineMiddlewareFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
      */
30 30
     public static function __callStatic(string $name, array $arguments): MiddlewareInterface
31 31
     {
32
-        if (! array_key_exists(0, $arguments) || ! $arguments[0] instanceof ContainerInterface) {
32
+        if (!array_key_exists(0, $arguments) || !$arguments[0] instanceof ContainerInterface) {
33 33
             throw new InvalidArgumentException(sprintf(
34 34
                 'The first argument must be of type %s',
35 35
                 ContainerInterface::class
Please login to merge, or discard this patch.