Completed
Push — master ( 5f6043...fc24f1 )
by Mike
02:46
created
lib/Doctrine/DBAL/Migrations/Tools/Console/Command/StatusCommand.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
             if ($name == 'New Migrations') {
68 68
                 $value = $value > 0 ? '<question>' . $value . '</question>' : 0;
69 69
             }
70
-            if($name == 'Executed Unavailable Migrations') {
70
+            if ($name == 'Executed Unavailable Migrations') {
71 71
                 $value = $value > 0 ? '<error>' . $value . '</error>' : 0;
72 72
             }
73 73
             $this->writeStatusInfosLineAligned($output, $name, $value);
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
     {
100 100
         $migratedVersions = $configuration->getMigratedVersions();
101 101
 
102
-        foreach($migrations as $version) {
102
+        foreach ($migrations as $version) {
103 103
             $isMigrated = in_array($version->getVersion(), $migratedVersions);
104 104
             $status = $isMigrated ? '<info>migrated</info>' : '<error>not migrated</error>';
105 105
             $migrationDescription = '';
@@ -110,8 +110,8 @@  discard block
 block discarded – undo
110 110
 
111 111
             $output->writeln('    <comment>>></comment> ' . $formattedVersion .
112 112
                 ' (<comment>' . $version->getVersion() . '</comment>)' .
113
-                str_repeat(' ', 49 - strlen($formattedVersion) - strlen($version->getVersion()))  .
114
-                $status  . $migrationDescription);
113
+                str_repeat(' ', 49 - strlen($formattedVersion) - strlen($version->getVersion())) .
114
+                $status . $migrationDescription);
115 115
         }
116 116
     }
117 117
 }
Please login to merge, or discard this patch.