@@ -49,10 +49,10 @@ discard block |
||
49 | 49 | $tableName = $class->table['name']; |
50 | 50 | |
51 | 51 | if ( ! empty($class->table['schema'])) { |
52 | - $tableName = $class->table['schema'] . '.' . $class->table['name']; |
|
52 | + $tableName = $class->table['schema'].'.'.$class->table['name']; |
|
53 | 53 | |
54 | 54 | if ( ! $platform->supportsSchemas() && $platform->canEmulateSchemas()) { |
55 | - $tableName = $class->table['schema'] . '__' . $class->table['name']; |
|
55 | + $tableName = $class->table['schema'].'__'.$class->table['name']; |
|
56 | 56 | } |
57 | 57 | } |
58 | 58 | |
@@ -109,7 +109,7 @@ discard block |
||
109 | 109 | $tableName = $platform->quoteIdentifier($tableName); |
110 | 110 | } |
111 | 111 | |
112 | - return $schema . $tableName; |
|
112 | + return $schema.$tableName; |
|
113 | 113 | } |
114 | 114 | |
115 | 115 | /** |
@@ -129,7 +129,7 @@ discard block |
||
129 | 129 | // Association defined as Id field |
130 | 130 | $joinColumns = $class->associationMappings[$fieldName]['joinColumns']; |
131 | 131 | $assocQuotedColumnNames = array_map( |
132 | - function ($joinColumn) use ($platform) |
|
132 | + function($joinColumn) use ($platform) |
|
133 | 133 | { |
134 | 134 | return isset($joinColumn['quoted']) |
135 | 135 | ? $platform->quoteIdentifier($joinColumn['name']) |
@@ -154,10 +154,10 @@ discard block |
||
154 | 154 | // If the alias is to long, characters are cut off from the beginning. |
155 | 155 | // 3 ) Strip non alphanumeric characters |
156 | 156 | // 4 ) Prefix with "_" if the result its numeric |
157 | - $columnName = $columnName . '_' . $counter; |
|
157 | + $columnName = $columnName.'_'.$counter; |
|
158 | 158 | $columnName = substr($columnName, -$platform->getMaxIdentifierLength()); |
159 | 159 | $columnName = preg_replace('/[^A-Za-z0-9_]/', '', $columnName); |
160 | - $columnName = is_numeric($columnName) ? '_' . $columnName : $columnName; |
|
160 | + $columnName = is_numeric($columnName) ? '_'.$columnName : $columnName; |
|
161 | 161 | |
162 | 162 | return $platform->getSQLResultCasing($columnName); |
163 | 163 | } |
@@ -69,11 +69,11 @@ |
||
69 | 69 | private function getTableFullName(array $table) : string |
70 | 70 | { |
71 | 71 | $join = '.'; |
72 | - if (! $this->platform->supportsSchemas() && $this->platform->canEmulateSchemas()) { |
|
72 | + if ( ! $this->platform->supportsSchemas() && $this->platform->canEmulateSchemas()) { |
|
73 | 73 | $join = '__'; |
74 | 74 | } |
75 | 75 | |
76 | - return $table['schema'] . $join . $table['name']; |
|
76 | + return $table['schema'].$join.$table['name']; |
|
77 | 77 | } |
78 | 78 | |
79 | 79 | private function createClassMetadata(string $className) : ClassMetadata |