@@ -204,7 +204,7 @@ discard block |
||
| 204 | 204 | { |
| 205 | 205 | $queries = $this->execute($direction, true); |
| 206 | 206 | |
| 207 | - if ( ! empty($this->params)) { |
|
| 207 | + if (!empty($this->params)) { |
|
| 208 | 208 | throw MigrationException::migrationNotConvertibleToSql($this->class); |
| 209 | 209 | } |
| 210 | 210 | |
@@ -277,7 +277,7 @@ discard block |
||
| 277 | 277 | $this->state = self::STATE_POST; |
| 278 | 278 | $this->migration->{'post' . ucfirst($direction)}($toSchema); |
| 279 | 279 | |
| 280 | - if (! $dryRun) { |
|
| 280 | + if (!$dryRun) { |
|
| 281 | 281 | if ($direction === self::DIRECTION_UP) { |
| 282 | 282 | $this->markMigrated(); |
| 283 | 283 | } else { |
@@ -316,7 +316,7 @@ discard block |
||
| 316 | 316 | } |
| 317 | 317 | } |
| 318 | 318 | |
| 319 | - $this->outputWriter->write(sprintf("\n <info>SS</info> skipped (Reason: %s)", $e->getMessage())); |
|
| 319 | + $this->outputWriter->write(sprintf("\n <info>SS</info> skipped (Reason: %s)", $e->getMessage())); |
|
| 320 | 320 | |
| 321 | 321 | $this->state = self::STATE_NONE; |
| 322 | 322 | |
@@ -379,12 +379,12 @@ discard block |
||
| 379 | 379 | |
| 380 | 380 | private function executeRegisteredSql($dryRun = false, $timeAllQueries = false) |
| 381 | 381 | { |
| 382 | - if (! $dryRun) { |
|
| 382 | + if (!$dryRun) { |
|
| 383 | 383 | if (!empty($this->sql)) { |
| 384 | 384 | foreach ($this->sql as $key => $query) { |
| 385 | 385 | $queryStart = microtime(true); |
| 386 | 386 | |
| 387 | - if ( ! isset($this->params[$key])) { |
|
| 387 | + if (!isset($this->params[$key])) { |
|
| 388 | 388 | $this->outputWriter->write(' <comment>-></comment> ' . $query); |
| 389 | 389 | $this->connection->executeQuery($query); |
| 390 | 390 | } else { |