Passed
Push — master ( 79bf3c...52a24b )
by Alex
01:04 queued 13s
created
src/Hydrator/Strategy/HydratorCollectionStrategy.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -206,7 +206,7 @@
 block discarded – undo
206 206
                 : $entity;
207 207
         }
208 208
 
209
-        return array_filter($collection, static fn ($item) => null !== $item);
209
+        return array_filter($collection, static fn($item) => null !== $item);
210 210
     }
211 211
 
212 212
     /**
Please login to merge, or discard this patch.
test/unit/Service/Connection/ConnectionFactoryTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -122,7 +122,7 @@
 block discarded – undo
122 122
             $config,
123 123
             $configuration,
124 124
             $eventManager
125
-        ): Connection {
125
+        ) : Connection {
126 126
             Assert::assertSame($configurationArg, $configuration);
127 127
             Assert::assertSame($eventManagerArg, $eventManager);
128 128
             Assert::assertSame(
Please login to merge, or discard this patch.
src/Factory/Console/DoctrineApplicationFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -85,11 +85,11 @@
 block discarded – undo
85 85
         }
86 86
 
87 87
         if (isset($options['auto_exit'])) {
88
-            $application->setAutoExit((bool)$options['auto_exit']);
88
+            $application->setAutoExit((bool) $options['auto_exit']);
89 89
         }
90 90
 
91 91
         if (isset($options['catch_exceptions'])) {
92
-            $application->setCatchExceptions((bool)$options['catch_exceptions']);
92
+            $application->setCatchExceptions((bool) $options['catch_exceptions']);
93 93
         }
94 94
 
95 95
         if (isset($options['default_command'])) {
Please login to merge, or discard this patch.
src/Hydrator/EntityHydrator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
     protected function toMany($object, $collectionName, $target, $values): void
45 45
     {
46 46
         if (!is_iterable($values)) {
47
-            $values = (array)$values;
47
+            $values = (array) $values;
48 48
         }
49 49
 
50 50
         $metadata = $this->objectManager->getClassMetadata($target);
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
 
79 79
         $collection = array_filter(
80 80
             $collection,
81
-            static fn ($item) => null !== $item
81
+            static fn($item) => null !== $item
82 82
         );
83 83
 
84 84
         /** @var AbstractCollectionStrategy $collectionStrategy */
Please login to merge, or discard this patch.
src/Console/Command/ImportCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@
 block discarded – undo
75 75
 
76 76
         $this->executor->execute(
77 77
             $this->fixtures,
78
-            (bool)$input->getOption('append')
78
+            (bool) $input->getOption('append')
79 79
         );
80 80
 
81 81
         $output->writeln(sprintf('Completed execution of \'%d\' fixtures', count($this->fixtures)));
Please login to merge, or discard this patch.