@@ -61,10 +61,10 @@ discard block |
||
| 61 | 61 | { |
| 62 | 62 | $name = $configuration->getName(); |
| 63 | 63 | $name = $name ? $name : 'Doctrine Database Migrations'; |
| 64 | - $name = str_repeat(' ', 20) . $name . str_repeat(' ', 20); |
|
| 65 | - $output->writeln('<question>' . str_repeat(' ', strlen($name)) . '</question>'); |
|
| 66 | - $output->writeln('<question>' . $name . '</question>'); |
|
| 67 | - $output->writeln('<question>' . str_repeat(' ', strlen($name)) . '</question>'); |
|
| 64 | + $name = str_repeat(' ', 20).$name.str_repeat(' ', 20); |
|
| 65 | + $output->writeln('<question>'.str_repeat(' ', strlen($name)).'</question>'); |
|
| 66 | + $output->writeln('<question>'.$name.'</question>'); |
|
| 67 | + $output->writeln('<question>'.str_repeat(' ', strlen($name)).'</question>'); |
|
| 68 | 68 | $output->writeln(''); |
| 69 | 69 | } |
| 70 | 70 | |
@@ -87,7 +87,7 @@ discard block |
||
| 87 | 87 | */ |
| 88 | 88 | protected function getMigrationConfiguration(InputInterface $input, OutputInterface $output) |
| 89 | 89 | { |
| 90 | - if ( ! $this->migrationConfiguration) { |
|
| 90 | + if (!$this->migrationConfiguration) { |
|
| 91 | 91 | if ($this->getHelperSet()->has('configuration') |
| 92 | 92 | && $this->getHelperSet()->get('configuration') instanceof ConfigurationHelperInterface) { |
| 93 | 93 | $configHelper = $this->getHelperSet()->get('configuration'); |
@@ -118,8 +118,8 @@ discard block |
||
| 118 | 118 | */ |
| 119 | 119 | private function getOutputWriter(OutputInterface $output) |
| 120 | 120 | { |
| 121 | - if ( ! $this->outputWriter) { |
|
| 122 | - $this->outputWriter = new OutputWriter(function ($message) use ($output) { |
|
| 121 | + if (!$this->outputWriter) { |
|
| 122 | + $this->outputWriter = new OutputWriter(function($message) use ($output) { |
|
| 123 | 123 | return $output->writeln($message); |
| 124 | 124 | }); |
| 125 | 125 | } |
@@ -147,7 +147,7 @@ discard block |
||
| 147 | 147 | new ConnectionConfigurationLoader($this->configuration), |
| 148 | 148 | ] |
| 149 | 149 | ); |
| 150 | - $connection = $chainLoader->chosen(); |
|
| 150 | + $connection = $chainLoader->chosen(); |
|
| 151 | 151 | |
| 152 | 152 | if ($connection) { |
| 153 | 153 | return $this->connection = $connection; |