@@ -67,7 +67,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 | } |