@@ -136,7 +136,7 @@ discard block |
||
| 136 | 136 | |
| 137 | 137 | foreach ($orderedTables as $tbl) { |
| 138 | 138 | // If we have a filter expression, check it and skip if necessary |
| 139 | - if (! $emptyFilterExpression && ! preg_match($filterExpr, $tbl)) { |
|
| 139 | + if ( ! $emptyFilterExpression && ! preg_match($filterExpr, $tbl)) { |
|
| 140 | 140 | continue; |
| 141 | 141 | } |
| 142 | 142 | |
@@ -168,7 +168,7 @@ discard block |
||
| 168 | 168 | $sorter = new TopologicalSorter(); |
| 169 | 169 | |
| 170 | 170 | foreach ($classes as $class) { |
| 171 | - if (! $sorter->hasNode($class->name)) { |
|
| 171 | + if ( ! $sorter->hasNode($class->name)) { |
|
| 172 | 172 | $sorter->addNode($class->name, $class); |
| 173 | 173 | } |
| 174 | 174 | |
@@ -177,7 +177,7 @@ discard block |
||
| 177 | 177 | $parentClass = $em->getClassMetadata($parentClass); |
| 178 | 178 | $parentClassName = $parentClass->getName(); |
| 179 | 179 | |
| 180 | - if (! $sorter->hasNode($parentClassName)) { |
|
| 180 | + if ( ! $sorter->hasNode($parentClassName)) { |
|
| 181 | 181 | $sorter->addNode($parentClassName, $parentClass); |
| 182 | 182 | } |
| 183 | 183 | |
@@ -185,7 +185,7 @@ discard block |
||
| 185 | 185 | } |
| 186 | 186 | |
| 187 | 187 | foreach ($class->associationMappings as $assoc) { |
| 188 | - if (! $assoc['isOwningSide']) { |
|
| 188 | + if ( ! $assoc['isOwningSide']) { |
|
| 189 | 189 | continue; |
| 190 | 190 | } |
| 191 | 191 | |
@@ -193,7 +193,7 @@ discard block |
||
| 193 | 193 | $targetClass = $em->getClassMetadata($assoc['targetEntity']); |
| 194 | 194 | $targetClassName = $targetClass->getName(); |
| 195 | 195 | |
| 196 | - if (! $sorter->hasNode($targetClassName)) { |
|
| 196 | + if ( ! $sorter->hasNode($targetClassName)) { |
|
| 197 | 197 | $sorter->addNode($targetClassName, $targetClass); |
| 198 | 198 | } |
| 199 | 199 | |
@@ -205,7 +205,7 @@ discard block |
||
| 205 | 205 | $parentClass = $em->getClassMetadata($parentClass); |
| 206 | 206 | $parentClassName = $parentClass->getName(); |
| 207 | 207 | |
| 208 | - if (! $sorter->hasNode($parentClassName)) { |
|
| 208 | + if ( ! $sorter->hasNode($parentClassName)) { |
|
| 209 | 209 | $sorter->addNode($parentClassName, $parentClass); |
| 210 | 210 | } |
| 211 | 211 | |
@@ -228,7 +228,7 @@ discard block |
||
| 228 | 228 | |
| 229 | 229 | foreach ($classes as $class) { |
| 230 | 230 | foreach ($class->associationMappings as $assoc) { |
| 231 | - if (! $assoc['isOwningSide'] || $assoc['type'] !== ClassMetadata::MANY_TO_MANY) { |
|
| 231 | + if ( ! $assoc['isOwningSide'] || $assoc['type'] !== ClassMetadata::MANY_TO_MANY) { |
|
| 232 | 232 | continue; |
| 233 | 233 | } |
| 234 | 234 | |
@@ -264,7 +264,7 @@ discard block |
||
| 264 | 264 | private function getJoinTableName($assoc, $class, $platform) |
| 265 | 265 | { |
| 266 | 266 | if (isset($assoc['joinTable']['schema']) && ! method_exists($class, 'getSchemaName')) { |
| 267 | - return $assoc['joinTable']['schema'] . '.' . $this->em->getConfiguration()->getQuoteStrategy()->getJoinTableName($assoc, $class, $platform); |
|
| 267 | + return $assoc['joinTable']['schema'].'.'.$this->em->getConfiguration()->getQuoteStrategy()->getJoinTableName($assoc, $class, $platform); |
|
| 268 | 268 | } |
| 269 | 269 | |
| 270 | 270 | return $this->em->getConfiguration()->getQuoteStrategy()->getJoinTableName($assoc, $class, $platform); |
@@ -280,6 +280,6 @@ discard block |
||
| 280 | 280 | { |
| 281 | 281 | $tableIdentifier = new Identifier($tableName); |
| 282 | 282 | |
| 283 | - return 'DELETE FROM ' . $tableIdentifier->getQuotedName($platform); |
|
| 283 | + return 'DELETE FROM '.$tableIdentifier->getQuotedName($platform); |
|
| 284 | 284 | } |
| 285 | 285 | } |