|
@@ 231-236 (lines=6) @@
|
| 228 |
|
// interactions |
| 229 |
|
$output->writeln("<info>composer.json 'requires' section has been updated to version $newVersion</info>"); |
| 230 |
|
|
| 231 |
|
if (count($this->getArrayValue($versionsFileContents[$newVersion], 'add-bundles'))) { |
| 232 |
|
$output->writeln('<comment>Add bundle(s) to app/AppKernel.php</comment>'); |
| 233 |
|
foreach ($versionsFileContents[$newVersion]['add-bundles'] as $bundle) { |
| 234 |
|
$output->writeln(' '.$bundle); |
| 235 |
|
} |
| 236 |
|
} |
| 237 |
|
if (count($this->getArrayValue($versionsFileContents[$newVersion], 'rm-bundles'))) { |
| 238 |
|
$output->writeln('<comment>Remove bundle(s) from app/AppKernel.php</comment>'); |
| 239 |
|
foreach ($versionsFileContents[$newVersion]['rm-bundles'] as $bundle) { |
|
@@ 237-242 (lines=6) @@
|
| 234 |
|
$output->writeln(' '.$bundle); |
| 235 |
|
} |
| 236 |
|
} |
| 237 |
|
if (count($this->getArrayValue($versionsFileContents[$newVersion], 'rm-bundles'))) { |
| 238 |
|
$output->writeln('<comment>Remove bundle(s) from app/AppKernel.php</comment>'); |
| 239 |
|
foreach ($versionsFileContents[$newVersion]['rm-bundles'] as $bundle) { |
| 240 |
|
$output->writeln(' '.$bundle); |
| 241 |
|
} |
| 242 |
|
} |
| 243 |
|
|
| 244 |
|
if (count($this->getArrayValue($versionsFileContents[$newVersion], 'instructions'))) { |
| 245 |
|
foreach ($versionsFileContents[$newVersion]['instructions'] as $instruction) { |
|
@@ 244-248 (lines=5) @@
|
| 241 |
|
} |
| 242 |
|
} |
| 243 |
|
|
| 244 |
|
if (count($this->getArrayValue($versionsFileContents[$newVersion], 'instructions'))) { |
| 245 |
|
foreach ($versionsFileContents[$newVersion]['instructions'] as $instruction) { |
| 246 |
|
$output->writeln(sprintf('<comment>%s</comment>', $instruction)); |
| 247 |
|
} |
| 248 |
|
} |
| 249 |
|
|
| 250 |
|
if (count($this->getArrayValue($versionsFileContents[$newVersion], 'commands'))) { |
| 251 |
|
$output->writeln('After composer update run:'); |