Failed Conditions
Pull Request — master (#7724)
by
unknown
09:25
created
lib/Doctrine/ORM/Mapping/Factory/DefaultNamingStrategy.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
         ?string $className = null,
74 74
         ?string $embeddedClassName = null
75 75
     ) : string {
76
-        return $propertyName . '_' . $embeddedColumnName;
76
+        return $propertyName.'_'.$embeddedColumnName;
77 77
     }
78 78
 
79 79
     /**
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
      */
90 90
     public function joinColumnName(string $propertyName, ?string $className = null) : string
91 91
     {
92
-        return $propertyName . '_' . $this->referenceColumnName();
92
+        return $propertyName.'_'.$this->referenceColumnName();
93 93
     }
94 94
 
95 95
     /**
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
      */
98 98
     public function joinTableName(string $sourceEntity, string $targetEntity, ?string $propertyName = null) : string
99 99
     {
100
-        return strtolower($this->_classToTableName($sourceEntity) . '_' .
100
+        return strtolower($this->_classToTableName($sourceEntity).'_'.
101 101
             $this->_classToTableName($targetEntity));
102 102
     }
103 103
 
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
     public function joinKeyColumnName(string $entityName, ?string $referencedColumnName = null) : string
108 108
     {
109 109
         return strtolower(
110
-            $this->_classToTableName($entityName) . '_' . ($referencedColumnName ?: $this->referenceColumnName())
110
+            $this->_classToTableName($entityName).'_'.($referencedColumnName ?: $this->referenceColumnName())
111 111
         );
112 112
     }
113 113
 
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Mapping/Factory/UnderscoreNamingStrategy.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
         ?string $className = null,
102 102
         ?string $embeddedClassName = null
103 103
     ) : string {
104
-        return $this->underscore($propertyName) . '_' . $embeddedColumnName;
104
+        return $this->underscore($propertyName).'_'.$embeddedColumnName;
105 105
     }
106 106
 
107 107
     /**
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
      */
118 118
     public function joinColumnName(string $propertyName, ?string $className = null) : string
119 119
     {
120
-        return $this->underscore($propertyName) . '_' . $this->referenceColumnName();
120
+        return $this->underscore($propertyName).'_'.$this->referenceColumnName();
121 121
     }
122 122
 
123 123
     /**
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
      */
126 126
     public function joinTableName(string $sourceEntity, string $targetEntity, ?string $propertyName = null) : string
127 127
     {
128
-        return $this->_classToTableName($sourceEntity) . '_' . $this->_classToTableName($targetEntity);
128
+        return $this->_classToTableName($sourceEntity).'_'.$this->_classToTableName($targetEntity);
129 129
     }
130 130
 
131 131
     /**
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
      */
134 134
     public function joinKeyColumnName(string $entityName, ?string $referencedColumnName = null) : string
135 135
     {
136
-        return $this->_classToTableName($entityName) . '_' .
136
+        return $this->_classToTableName($entityName).'_'.
137 137
                 ($referencedColumnName ?: $this->referenceColumnName());
138 138
     }
139 139
 
Please login to merge, or discard this patch.