@@ -114,7 +114,7 @@ discard block |
||
114 | 114 | } |
115 | 115 | |
116 | 116 | $question = 'Are you sure you wish to continue? (y/n)'; |
117 | - if (! $this->canExecute($question, $input, $output)) { |
|
117 | + if (!$this->canExecute($question, $input, $output)) { |
|
118 | 118 | $output->writeln('<error>Migration cancelled!</error>'); |
119 | 119 | |
120 | 120 | return 1; |
@@ -130,7 +130,7 @@ discard block |
||
130 | 130 | $dryRun = (boolean) $input->getOption('dry-run'); |
131 | 131 | |
132 | 132 | $migration->setNoMigrationException($input->getOption('allow-no-migration')); |
133 | - $result = $migration->migrate($version, $dryRun, $timeAllqueries, function () use ($input, $output) { |
|
133 | + $result = $migration->migrate($version, $dryRun, $timeAllqueries, function() use ($input, $output) { |
|
134 | 134 | $question = 'WARNING! You are about to execute a database migration' |
135 | 135 | . ' that could result in schema changes and data lost.' |
136 | 136 | . ' Are you sure you wish to continue? (y/n)'; |
@@ -162,7 +162,7 @@ discard block |
||
162 | 162 | */ |
163 | 163 | private function canExecute($question, InputInterface $input, OutputInterface $output) |
164 | 164 | { |
165 | - if ($input->isInteractive() && ! $this->askConfirmation($question, $input, $output)) { |
|
165 | + if ($input->isInteractive() && !$this->askConfirmation($question, $input, $output)) { |
|
166 | 166 | return false; |
167 | 167 | } |
168 | 168 |