Completed
Pull Request — master (#7724)
by
unknown
12:00
created
lib/Doctrine/ORM/Reflection/StaticReflectionService.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
     public function getClassShortName(string $className) : string
31 31
     {
32 32
         if (strpos($className, '\\') !== false) {
33
-            $className = substr($className, strrpos($className, '\\')+1);
33
+            $className = substr($className, strrpos($className, '\\') + 1);
34 34
         }
35 35
 
36 36
         return $className;
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
         $namespace = '';
45 45
 
46 46
         if (strpos($className, '\\') !== false) {
47
-            $namespace = strrev(substr(strrev($className), strpos(strrev($className), '\\')+1));
47
+            $namespace = strrev(substr(strrev($className), strpos(strrev($className), '\\') + 1));
48 48
         }
49 49
 
50 50
         return $namespace;
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Mapping/Factory/UnderscorePluralNamingStrategy.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
      */
77 77
     public function embeddedFieldToColumnName($propertyName, $embeddedColumnName, $className = null, $embeddedClassName = null)
78 78
     {
79
-        return $this->underscore($propertyName) . '_' . $embeddedColumnName;
79
+        return $this->underscore($propertyName).'_'.$embeddedColumnName;
80 80
     }
81 81
 
82 82
     /**
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
      */
93 93
     public function joinColumnName($propertyName, $className = null)
94 94
     {
95
-        return $this->underscore($propertyName) . '_' . $this->referenceColumnName();
95
+        return $this->underscore($propertyName).'_'.$this->referenceColumnName();
96 96
     }
97 97
 
98 98
     /**
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
      */
101 101
     public function joinTableName($sourceEntity, $targetEntity, $propertyName = null)
102 102
     {
103
-        return $this->classToTableName($sourceEntity) . '_' . $this->classToTableName($targetEntity);
103
+        return $this->classToTableName($sourceEntity).'_'.$this->classToTableName($targetEntity);
104 104
     }
105 105
 
106 106
     /**
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
      */
109 109
     public function joinKeyColumnName($entityName, $referencedColumnName = null)
110 110
     {
111
-        return $this->classToTableName($entityName) . '_' .
111
+        return $this->classToTableName($entityName).'_'.
112 112
                 ($referencedColumnName ?: $this->referenceColumnName());
113 113
     }
114 114
 
Please login to merge, or discard this patch.