Passed
Branch master (460f17)
by Thomas Mauro
04:03
created
Category
src/Middleware/DoctrinePingConnectionMiddleware.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,12 +27,12 @@
 block discarded – undo
27 27
     {
28 28
         $connection = $entityManager->getConnection();
29 29
 
30
-        if (! $connection->ping()) {
30
+        if ( ! $connection->ping()) {
31 31
             $connection->close();
32 32
             $connection->connect();
33 33
         }
34 34
 
35
-        if (! $entityManager->isOpen()) {
35
+        if ( ! $entityManager->isOpen()) {
36 36
             $this->managerRegistry->resetManager($this->entityManagerName);
37 37
         }
38 38
     }
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
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
      */
36 36
     public static function __callStatic(string $name, array $arguments): MessageBusInterface
37 37
     {
38
-        if (! \array_key_exists(0, $arguments) || ! $arguments[0] instanceof ContainerInterface) {
38
+        if ( ! \array_key_exists(0, $arguments) || ! $arguments[0] instanceof ContainerInterface) {
39 39
             throw new InvalidArgumentException(\sprintf(
40 40
                 'The first argument must be of type %s',
41 41
                 ContainerInterface::class
Please login to merge, or discard this patch.
src/Factory/Middleware/AbstractDoctrineMiddlewareFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
      */
29 29
     public static function __callStatic(string $name, array $arguments): MiddlewareInterface
30 30
     {
31
-        if (! \array_key_exists(0, $arguments) || ! $arguments[0] instanceof ContainerInterface) {
31
+        if ( ! \array_key_exists(0, $arguments) || ! $arguments[0] instanceof ContainerInterface) {
32 32
             throw new InvalidArgumentException(\sprintf(
33 33
                 'The first argument must be of type %s',
34 34
                 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
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
      */
50 50
     public static function __callStatic(string $name, array $arguments): SendMessageMiddleware
51 51
     {
52
-        if (! \array_key_exists(0, $arguments) || ! $arguments[0] instanceof ContainerInterface) {
52
+        if ( ! \array_key_exists(0, $arguments) || ! $arguments[0] instanceof ContainerInterface) {
53 53
             throw new InvalidArgumentException(\sprintf(
54 54
                 'The first argument must be of type %s',
55 55
                 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
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
      */
46 46
     public static function __callStatic(string $name, array $arguments): HandleMessageMiddleware
47 47
     {
48
-        if (! \array_key_exists(0, $arguments) || ! $arguments[0] instanceof ContainerInterface) {
48
+        if ( ! \array_key_exists(0, $arguments) || ! $arguments[0] instanceof ContainerInterface) {
49 49
             throw new InvalidArgumentException(\sprintf(
50 50
                 'The first argument must be of type %s',
51 51
                 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
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
      */
32 32
     public static function __callStatic(string $name, array $arguments): AddBusNameStampMiddleware
33 33
     {
34
-        if (! \array_key_exists(0, $arguments) || ! $arguments[0] instanceof ContainerInterface) {
34
+        if ( ! \array_key_exists(0, $arguments) || ! $arguments[0] instanceof ContainerInterface) {
35 35
             throw new InvalidArgumentException(\sprintf(
36 36
                 'The first argument must be of type %s',
37 37
                 ContainerInterface::class
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
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
      */
65 65
     public static function __callStatic(string $name, array $arguments): MessageBusInterface
66 66
     {
67
-        if (! \array_key_exists(0, $arguments) || ! $arguments[0] instanceof ContainerInterface) {
67
+        if ( ! \array_key_exists(0, $arguments) || ! $arguments[0] instanceof ContainerInterface) {
68 68
             throw new InvalidArgumentException(\sprintf(
69 69
                 'The first argument must be of type %s',
70 70
                 ContainerInterface::class
Please login to merge, or discard this patch.
src/Factory/EventDispatcherFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
     {
17 17
         // create a proxy to avoid circular dependencies
18 18
 
19
-        $factory = static function () use ($container): EventDispatcher {
19
+        $factory = static function() use ($container): EventDispatcher {
20 20
             /** @var array $config */
21 21
             $config = $container->has('config') ? $container->get('config') : [];
22 22
 
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
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
         $factories = [];
18 18
 
19 19
         foreach ($transports as $name => $transport) {
20
-            $factories[$name] = static function () use ($name, $container): RetryStrategyInterface {
20
+            $factories[$name] = static function() use ($name, $container): RetryStrategyInterface {
21 21
                 return (new RetryStrategyFactory($name))($container);
22 22
             };
23 23
         }
Please login to merge, or discard this patch.