Passed
Push — master ( 1beb50...8c44f8 )
by Gerrit
13:58
created
Mapping/Drivers/MappingXmlDriver.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
             throw new InvalidMappingException(sprintf(
126 126
                 "Missing referenced orm file '%s'%s!",
127 127
                 $mappingFile,
128
-                is_string($parentMappingFile) ?sprintf(", referenced in file '%s'", $parentMappingFile) :''
128
+                is_string($parentMappingFile) ?sprintf(", referenced in file '%s'", $parentMappingFile) : ''
129 129
             ));
130 130
         }
131 131
         
@@ -627,13 +627,13 @@  discard block
 block discarded – undo
627 627
         $jsonSerializedValue = "";
628 628
         
629 629
         if ($this->hasAttributeValue($fixNode, "json")) {
630
-            $jsonSerializedValue = (string) $this->readAttributeValue($fixNode, "json");
630
+            $jsonSerializedValue = (string)$this->readAttributeValue($fixNode, "json");
631 631
         }
632 632
         
633 633
         if ($this->hasAttributeValue($fixNode, "string")) {
634 634
             $jsonSerializedValue = sprintf(
635 635
                 '"%s"',
636
-                addslashes((string) $this->readAttributeValue($fixNode, "string"))
636
+                addslashes((string)$this->readAttributeValue($fixNode, "string"))
637 637
             );
638 638
         }
639 639
         
@@ -820,7 +820,7 @@  discard block
 block discarded – undo
820 820
                     }
821 821
 
822 822
                 } elseif ($key === 'type') {
823
-                    $type = Type::getType((string) $attributeValue);
823
+                    $type = Type::getType((string)$attributeValue);
824 824
 
825 825
                 } elseif (isset($keyMap[$key])) {
826 826
                     if ($key === 'nullable') {
Please login to merge, or discard this patch.