From bd94cfe71c9df1d470f78ddf798f03a8b77bd926 Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Mon, 10 Dec 2018 16:07:11 +0100 Subject: [PATCH] Rename fix-recipes to sync-recipes --- .../{FixRecipesCommand.php => SyncRecipesCommand.php} | 8 ++++---- src/Flex.php | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) rename src/Command/{FixRecipesCommand.php => SyncRecipesCommand.php} (89%) diff --git a/src/Command/FixRecipesCommand.php b/src/Command/SyncRecipesCommand.php similarity index 89% rename from src/Command/FixRecipesCommand.php rename to src/Command/SyncRecipesCommand.php index 80f601d77..4f87f0114 100644 --- a/src/Command/FixRecipesCommand.php +++ b/src/Command/SyncRecipesCommand.php @@ -19,7 +19,7 @@ use Symfony\Component\Console\Output\OutputInterface; use Symfony\Flex\Lock; -class FixRecipesCommand extends BaseCommand +class SyncRecipesCommand extends BaseCommand { private $flex; @@ -32,9 +32,9 @@ public function __construct(/* cannot be type-hinted */ $flex) protected function configure() { - $this->setName('symfony:fix-recipes') - ->setAliases(['fix-recipes']) - ->setDescription('Installs missing recipes.') + $this->setName('symfony:sync-recipes') + ->setAliases(['sync-recipes', 'fix-recipes']) + ->setDescription('Installs or reinstalls recipes for already installed packages.') ; } diff --git a/src/Flex.php b/src/Flex.php index fa2c03459..13e75bd4b 100644 --- a/src/Flex.php +++ b/src/Flex.php @@ -230,7 +230,7 @@ public function activate(Composer $composer, IOInterface $io) $app->add(new Command\UpdateCommand($resolver)); $app->add(new Command\RemoveCommand($resolver)); $app->add(new Command\UnpackCommand($resolver)); - $app->add(new Command\FixRecipesCommand($this)); + $app->add(new Command\SyncRecipesCommand($this)); $app->add(new Command\GenerateIdCommand($this)); break;