Passed
Push — master ( f112bd...327acb )
by Andreas
03:02
created
lib/Doctrine/DBAL/Migrations/Tools/Console/Command/AbstractCommand.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -61,10 +61,10 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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;
Please login to merge, or discard this patch.