@@ -143,7 +143,7 @@ discard block |
||
| 143 | 143 | |
| 144 | 144 | foreach ($orderedTables as $tbl) { |
| 145 | 145 | // If we have a filter expression, check it and skip if necessary |
| 146 | - if (! $emptyFilterExpression && ! preg_match($filterExpr, $tbl)) { |
|
| 146 | + if ( ! $emptyFilterExpression && ! preg_match($filterExpr, $tbl)) { |
|
| 147 | 147 | continue; |
| 148 | 148 | } |
| 149 | 149 | |
@@ -158,7 +158,7 @@ discard block |
||
| 158 | 158 | } |
| 159 | 159 | |
| 160 | 160 | if ($this->purgeMode === self::PURGE_MODE_DELETE) { |
| 161 | - $connection->executeUpdate('DELETE FROM ' . $tbl); |
|
| 161 | + $connection->executeUpdate('DELETE FROM '.$tbl); |
|
| 162 | 162 | } else { |
| 163 | 163 | if (isset($tableToSequences[$tbl])) { |
| 164 | 164 | $sequence = new Sequence($tableToSequences[$tbl]); |
@@ -181,7 +181,7 @@ discard block |
||
| 181 | 181 | $sorter = new TopologicalSorter(); |
| 182 | 182 | |
| 183 | 183 | foreach ($classes as $class) { |
| 184 | - if (! $sorter->hasNode($class->name)) { |
|
| 184 | + if ( ! $sorter->hasNode($class->name)) { |
|
| 185 | 185 | $sorter->addNode($class->name, $class); |
| 186 | 186 | } |
| 187 | 187 | |
@@ -190,7 +190,7 @@ discard block |
||
| 190 | 190 | $parentClass = $em->getClassMetadata($parentClass); |
| 191 | 191 | $parentClassName = $parentClass->getName(); |
| 192 | 192 | |
| 193 | - if (! $sorter->hasNode($parentClassName)) { |
|
| 193 | + if ( ! $sorter->hasNode($parentClassName)) { |
|
| 194 | 194 | $sorter->addNode($parentClassName, $parentClass); |
| 195 | 195 | } |
| 196 | 196 | |
@@ -198,7 +198,7 @@ discard block |
||
| 198 | 198 | } |
| 199 | 199 | |
| 200 | 200 | foreach ($class->associationMappings as $assoc) { |
| 201 | - if (! $assoc['isOwningSide']) { |
|
| 201 | + if ( ! $assoc['isOwningSide']) { |
|
| 202 | 202 | continue; |
| 203 | 203 | } |
| 204 | 204 | |
@@ -206,7 +206,7 @@ discard block |
||
| 206 | 206 | $targetClass = $em->getClassMetadata($assoc['targetEntity']); |
| 207 | 207 | $targetClassName = $targetClass->getName(); |
| 208 | 208 | |
| 209 | - if (! $sorter->hasNode($targetClassName)) { |
|
| 209 | + if ( ! $sorter->hasNode($targetClassName)) { |
|
| 210 | 210 | $sorter->addNode($targetClassName, $targetClass); |
| 211 | 211 | } |
| 212 | 212 | |
@@ -218,7 +218,7 @@ discard block |
||
| 218 | 218 | $parentClass = $em->getClassMetadata($parentClass); |
| 219 | 219 | $parentClassName = $parentClass->getName(); |
| 220 | 220 | |
| 221 | - if (! $sorter->hasNode($parentClassName)) { |
|
| 221 | + if ( ! $sorter->hasNode($parentClassName)) { |
|
| 222 | 222 | $sorter->addNode($parentClassName, $parentClass); |
| 223 | 223 | } |
| 224 | 224 | |
@@ -241,7 +241,7 @@ discard block |
||
| 241 | 241 | |
| 242 | 242 | foreach ($classes as $class) { |
| 243 | 243 | foreach ($class->associationMappings as $assoc) { |
| 244 | - if (! $assoc['isOwningSide'] || $assoc['type'] !== ClassMetadata::MANY_TO_MANY) { |
|
| 244 | + if ( ! $assoc['isOwningSide'] || $assoc['type'] !== ClassMetadata::MANY_TO_MANY) { |
|
| 245 | 245 | continue; |
| 246 | 246 | } |
| 247 | 247 | |
@@ -261,7 +261,7 @@ discard block |
||
| 261 | 261 | private function getTableName($class, $platform) |
| 262 | 262 | { |
| 263 | 263 | if (isset($class->table['schema']) && ! method_exists($class, 'getSchemaName')) { |
| 264 | - return $class->table['schema'] . '.' . $this->em->getConfiguration()->getQuoteStrategy()->getTableName($class, $platform); |
|
| 264 | + return $class->table['schema'].'.'.$this->em->getConfiguration()->getQuoteStrategy()->getTableName($class, $platform); |
|
| 265 | 265 | } |
| 266 | 266 | |
| 267 | 267 | return $this->em->getConfiguration()->getQuoteStrategy()->getTableName($class, $platform); |
@@ -277,7 +277,7 @@ discard block |
||
| 277 | 277 | private function getJoinTableName($assoc, $class, $platform) |
| 278 | 278 | { |
| 279 | 279 | if (isset($assoc['joinTable']['schema']) && ! method_exists($class, 'getSchemaName')) { |
| 280 | - return $assoc['joinTable']['schema'] . '.' . $this->em->getConfiguration()->getQuoteStrategy()->getJoinTableName($assoc, $class, $platform); |
|
| 280 | + return $assoc['joinTable']['schema'].'.'.$this->em->getConfiguration()->getQuoteStrategy()->getJoinTableName($assoc, $class, $platform); |
|
| 281 | 281 | } |
| 282 | 282 | |
| 283 | 283 | return $this->em->getConfiguration()->getQuoteStrategy()->getJoinTableName($assoc, $class, $platform); |