Passed
Push — master ( 933b9b...be9aba )
by Gerrit
03:00
created
Mapping/ObjectMapping.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -344,7 +344,7 @@
 block discarded – undo
344 344
         if (!is_null($actualValue) && !$actualValue instanceof $this->className) {
345 345
             throw FailedRDMAssertionException::expectedInstanceOf(
346 346
                 $this->className,
347
-                is_object($actualValue) ?get_class($actualValue) :gettype($actualValue),
347
+                is_object($actualValue) ?get_class($actualValue) : gettype($actualValue),
348 348
                 $this->origin
349 349
             );
350 350
         }
Please login to merge, or discard this patch.
Mapping/CallDefinition.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -138,7 +138,7 @@
 block discarded – undo
138 138
             }
139 139
 
140 140
             if (!empty($calleeDescription)) {
141
-                $calleeDescription .= $this->isStaticCall ?'::' :'->';
141
+                $calleeDescription .= $this->isStaticCall ? '::' : '->';
142 142
             }
143 143
 
144 144
             throw new ORMException(sprintf(
Please login to merge, or discard this patch.
Mapping/Drivers/MappingXmlDriver.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
             throw new InvalidMappingException(sprintf(
125 125
                 "Missing referenced orm file '%s'%s!",
126 126
                 $mappingFile,
127
-                is_string($parentMappingFile) ?sprintf(", referenced in file '%s'", $parentMappingFile) :''
127
+                is_string($parentMappingFile) ?sprintf(", referenced in file '%s'", $parentMappingFile) : ''
128 128
             ));
129 129
         }
130 130
         
@@ -771,7 +771,7 @@  discard block
 block discarded – undo
771 771
                     }
772 772
 
773 773
                 } elseif ($key === 'type') {
774
-                    $type = Type::getType((string) $attributeValue);
774
+                    $type = Type::getType((string)$attributeValue);
775 775
 
776 776
                 } elseif (isset($keyMap[$key])) {
777 777
                     if ($key === 'nullable') {
Please login to merge, or discard this patch.
Mapping/Drivers/MappingAnnotationDriver.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -137,7 +137,7 @@  discard block
 block discarded – undo
137 137
             }
138 138
 
139 139
             $dbalColumn = new DBALColumn(
140
-                (string) $column->name,
140
+                (string)$column->name,
141 141
                 Type::getType($column->type),
142 142
                 [
143 143
                     'notnull'   => !$column->nullable,
@@ -245,7 +245,7 @@  discard block
 block discarded – undo
245 245
         } elseif ($annotation instanceof ColumnAnnotation && $convertFieldsOnRootLevel) {
246 246
             /** @var DBALColumn $dbalColumn */
247 247
             $dbalColumn = new DBALColumn(
248
-                (string) $annotation->name,
248
+                (string)$annotation->name,
249 249
                 Type::getType($annotation->type ?? 'string'),
250 250
                 [
251 251
                     'notnull'   => !$annotation->nullable,
Please login to merge, or discard this patch.
DataLoader/BlackMagic/BlackMagicColumnReflectionPropertyMock.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -101,7 +101,7 @@
 block discarded – undo
101 101
         return null;
102 102
     }
103 103
 
104
-    public function getDocComment(): string|false
104
+    public function getDocComment(): string | false
105 105
     {
106 106
         return false;
107 107
     }
Please login to merge, or discard this patch.
DataLoader/BlackMagic/BlackMagicEntityCodeGenerator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
     public function processMapping(
34 34
         EntityMappingInterface $mapping,
35 35
         ClassLoader $loader
36
-    ): string|null {
36
+    ): string | null {
37 37
         /** @var array<array-key, Column> $columns */
38 38
         $columns = $mapping->collectDBALColumns();
39 39
         
Please login to merge, or discard this patch.
AddiksRDMBundle.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
11 11
 
12 12
 class AddiksRDMBundle extends Bundle
13 13
 {
14
-    private static ClassLoader|null $classLoader = null;
14
+    private static ClassLoader | null $classLoader = null;
15 15
 
16 16
     public function boot()
17 17
     {
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
         $dataLoader->boot($entityManager);
31 31
     }
32 32
 
33
-    public static function classLoader(): ClassLoader|null
33
+    public static function classLoader(): ClassLoader | null
34 34
     {
35 35
         return self::$classLoader;
36 36
     }
Please login to merge, or discard this patch.