From 4f7633983e3cd5c9d5c18208d1f64b67ead29934 Mon Sep 17 00:00:00 2001 From: Carlos Buenosvinos Date: Tue, 12 May 2020 20:44:54 +0200 Subject: [PATCH] Secrets, Security, and Messenger commands descriptions should not end with a "." (dot) --- .../FrameworkBundle/Command/SecretsDecryptToLocalCommand.php | 2 +- .../FrameworkBundle/Command/SecretsEncryptFromLocalCommand.php | 2 +- .../FrameworkBundle/Command/SecretsGenerateKeysCommand.php | 2 +- .../Bundle/FrameworkBundle/Command/SecretsListCommand.php | 2 +- .../Bundle/FrameworkBundle/Command/SecretsRemoveCommand.php | 2 +- .../Bundle/FrameworkBundle/Command/SecretsSetCommand.php | 2 +- .../SecurityBundle/Command/UserPasswordEncoderCommand.php | 2 +- .../Component/Messenger/Command/FailedMessagesRemoveCommand.php | 2 +- .../Component/Messenger/Command/FailedMessagesRetryCommand.php | 2 +- .../Component/Messenger/Command/FailedMessagesShowCommand.php | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/Symfony/Bundle/FrameworkBundle/Command/SecretsDecryptToLocalCommand.php b/src/Symfony/Bundle/FrameworkBundle/Command/SecretsDecryptToLocalCommand.php index 6bc1ecf073..1571c7f1b7 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Command/SecretsDecryptToLocalCommand.php +++ b/src/Symfony/Bundle/FrameworkBundle/Command/SecretsDecryptToLocalCommand.php @@ -42,7 +42,7 @@ final class SecretsDecryptToLocalCommand extends Command protected function configure() { $this - ->setDescription('Decrypts all secrets and stores them in the local vault.') + ->setDescription('Decrypts all secrets and stores them in the local vault') ->addOption('force', 'f', InputOption::VALUE_NONE, 'Forces overriding of secrets that already exist in the local vault') ->setHelp(<<<'EOF' The %command.name% command decrypts all secrets and copies them in the local vault. diff --git a/src/Symfony/Bundle/FrameworkBundle/Command/SecretsEncryptFromLocalCommand.php b/src/Symfony/Bundle/FrameworkBundle/Command/SecretsEncryptFromLocalCommand.php index 607140e616..e1c8904c69 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Command/SecretsEncryptFromLocalCommand.php +++ b/src/Symfony/Bundle/FrameworkBundle/Command/SecretsEncryptFromLocalCommand.php @@ -41,7 +41,7 @@ final class SecretsEncryptFromLocalCommand extends Command protected function configure() { $this - ->setDescription('Encrypts all local secrets to the vault.') + ->setDescription('Encrypts all local secrets to the vault') ->setHelp(<<<'EOF' The %command.name% command encrypts all locally overridden secrets to the vault. diff --git a/src/Symfony/Bundle/FrameworkBundle/Command/SecretsGenerateKeysCommand.php b/src/Symfony/Bundle/FrameworkBundle/Command/SecretsGenerateKeysCommand.php index f56fd0fe6c..18dba29ac9 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Command/SecretsGenerateKeysCommand.php +++ b/src/Symfony/Bundle/FrameworkBundle/Command/SecretsGenerateKeysCommand.php @@ -44,7 +44,7 @@ final class SecretsGenerateKeysCommand extends Command protected function configure() { $this - ->setDescription('Generates new encryption keys.') + ->setDescription('Generates new encryption keys') ->addOption('local', 'l', InputOption::VALUE_NONE, 'Updates the local vault.') ->addOption('rotate', 'r', InputOption::VALUE_NONE, 'Re-encrypts existing secrets with the newly generated keys.') ->setHelp(<<<'EOF' diff --git a/src/Symfony/Bundle/FrameworkBundle/Command/SecretsListCommand.php b/src/Symfony/Bundle/FrameworkBundle/Command/SecretsListCommand.php index 1210b40ee0..9848ab9933 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Command/SecretsListCommand.php +++ b/src/Symfony/Bundle/FrameworkBundle/Command/SecretsListCommand.php @@ -45,7 +45,7 @@ final class SecretsListCommand extends Command protected function configure() { $this - ->setDescription('Lists all secrets.') + ->setDescription('Lists all secrets') ->addOption('reveal', 'r', InputOption::VALUE_NONE, 'Display decrypted values alongside names') ->setHelp(<<<'EOF' The %command.name% command list all stored secrets. diff --git a/src/Symfony/Bundle/FrameworkBundle/Command/SecretsRemoveCommand.php b/src/Symfony/Bundle/FrameworkBundle/Command/SecretsRemoveCommand.php index b0ce9a89fe..2f06cb4592 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Command/SecretsRemoveCommand.php +++ b/src/Symfony/Bundle/FrameworkBundle/Command/SecretsRemoveCommand.php @@ -44,7 +44,7 @@ final class SecretsRemoveCommand extends Command protected function configure() { $this - ->setDescription('Removes a secret from the vault.') + ->setDescription('Removes a secret from the vault') ->addArgument('name', InputArgument::REQUIRED, 'The name of the secret') ->addOption('local', 'l', InputOption::VALUE_NONE, 'Updates the local vault.') ->setHelp(<<<'EOF' diff --git a/src/Symfony/Bundle/FrameworkBundle/Command/SecretsSetCommand.php b/src/Symfony/Bundle/FrameworkBundle/Command/SecretsSetCommand.php index 91e0031299..95b8f6a0f6 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Command/SecretsSetCommand.php +++ b/src/Symfony/Bundle/FrameworkBundle/Command/SecretsSetCommand.php @@ -45,7 +45,7 @@ final class SecretsSetCommand extends Command protected function configure() { $this - ->setDescription('Sets a secret in the vault.') + ->setDescription('Sets a secret in the vault') ->addArgument('name', InputArgument::REQUIRED, 'The name of the secret') ->addArgument('file', InputArgument::OPTIONAL, 'A file where to read the secret from or "-" for reading from STDIN') ->addOption('local', 'l', InputOption::VALUE_NONE, 'Updates the local vault.') diff --git a/src/Symfony/Bundle/SecurityBundle/Command/UserPasswordEncoderCommand.php b/src/Symfony/Bundle/SecurityBundle/Command/UserPasswordEncoderCommand.php index 427ee1edf2..24f289f0fb 100644 --- a/src/Symfony/Bundle/SecurityBundle/Command/UserPasswordEncoderCommand.php +++ b/src/Symfony/Bundle/SecurityBundle/Command/UserPasswordEncoderCommand.php @@ -52,7 +52,7 @@ class UserPasswordEncoderCommand extends Command protected function configure() { $this - ->setDescription('Encodes a password.') + ->setDescription('Encodes a password') ->addArgument('password', InputArgument::OPTIONAL, 'The plain password to encode.') ->addArgument('user-class', InputArgument::OPTIONAL, 'The User entity class path associated with the encoder used to encode the password.') ->addOption('empty-salt', null, InputOption::VALUE_NONE, 'Do not generate a salt or let the encoder generate one.') diff --git a/src/Symfony/Component/Messenger/Command/FailedMessagesRemoveCommand.php b/src/Symfony/Component/Messenger/Command/FailedMessagesRemoveCommand.php index 7fccbac42f..951b7d499e 100644 --- a/src/Symfony/Component/Messenger/Command/FailedMessagesRemoveCommand.php +++ b/src/Symfony/Component/Messenger/Command/FailedMessagesRemoveCommand.php @@ -39,7 +39,7 @@ class FailedMessagesRemoveCommand extends AbstractFailedMessagesCommand new InputOption('force', null, InputOption::VALUE_NONE, 'Force the operation without confirmation'), new InputOption('show-messages', null, InputOption::VALUE_NONE, 'Display messages before removing it (if multiple ids are given)'), ]) - ->setDescription('Remove given messages from the failure transport.') + ->setDescription('Remove given messages from the failure transport') ->setHelp(<<<'EOF' The %command.name% removes given messages that are pending in the failure transport. diff --git a/src/Symfony/Component/Messenger/Command/FailedMessagesRetryCommand.php b/src/Symfony/Component/Messenger/Command/FailedMessagesRetryCommand.php index 696e77f7f1..87426edd9d 100644 --- a/src/Symfony/Component/Messenger/Command/FailedMessagesRetryCommand.php +++ b/src/Symfony/Component/Messenger/Command/FailedMessagesRetryCommand.php @@ -59,7 +59,7 @@ class FailedMessagesRetryCommand extends AbstractFailedMessagesCommand new InputArgument('id', InputArgument::IS_ARRAY, 'Specific message id(s) to retry'), new InputOption('force', null, InputOption::VALUE_NONE, 'Force action without confirmation'), ]) - ->setDescription('Retries one or more messages from the failure transport.') + ->setDescription('Retries one or more messages from the failure transport') ->setHelp(<<<'EOF' The %command.name% retries message in the failure transport. diff --git a/src/Symfony/Component/Messenger/Command/FailedMessagesShowCommand.php b/src/Symfony/Component/Messenger/Command/FailedMessagesShowCommand.php index bcb6911632..0baf7a419f 100644 --- a/src/Symfony/Component/Messenger/Command/FailedMessagesShowCommand.php +++ b/src/Symfony/Component/Messenger/Command/FailedMessagesShowCommand.php @@ -37,7 +37,7 @@ class FailedMessagesShowCommand extends AbstractFailedMessagesCommand new InputArgument('id', InputArgument::OPTIONAL, 'Specific message id to show'), new InputOption('max', null, InputOption::VALUE_REQUIRED, 'Maximum number of messages to list', 50), ]) - ->setDescription('Shows one or more messages from the failure transport.') + ->setDescription('Shows one or more messages from the failure transport') ->setHelp(<<<'EOF' The %command.name% shows message that are pending in the failure transport.