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