From 55e421fda3f8bec21c0865034b4ef1b09322b7b9 Mon Sep 17 00:00:00 2001 From: Christian Flothmann Date: Thu, 21 Jan 2021 11:46:59 +0100 Subject: [PATCH] slightly clarify command descriptions --- src/Symfony/Bridge/Twig/Command/LintCommand.php | 2 +- src/Symfony/Bundle/FrameworkBundle/Command/XliffLintCommand.php | 2 +- src/Symfony/Bundle/FrameworkBundle/Command/YamlLintCommand.php | 2 +- src/Symfony/Bundle/TwigBundle/Command/LintCommand.php | 2 +- src/Symfony/Component/Translation/Command/XliffLintCommand.php | 2 +- src/Symfony/Component/Yaml/Command/LintCommand.php | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/Symfony/Bridge/Twig/Command/LintCommand.php b/src/Symfony/Bridge/Twig/Command/LintCommand.php index 39d79f0b1b..9b4c7b9af1 100644 --- a/src/Symfony/Bridge/Twig/Command/LintCommand.php +++ b/src/Symfony/Bridge/Twig/Command/LintCommand.php @@ -35,7 +35,7 @@ use Twig\Source; class LintCommand extends Command { protected static $defaultName = 'lint:twig'; - protected static $defaultDescription = 'Lints a template and outputs encountered errors'; + protected static $defaultDescription = 'Lints a Twig template and outputs encountered errors'; private $twig; diff --git a/src/Symfony/Bundle/FrameworkBundle/Command/XliffLintCommand.php b/src/Symfony/Bundle/FrameworkBundle/Command/XliffLintCommand.php index bffd08b659..046d1cb3ed 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Command/XliffLintCommand.php +++ b/src/Symfony/Bundle/FrameworkBundle/Command/XliffLintCommand.php @@ -25,7 +25,7 @@ use Symfony\Component\Translation\Command\XliffLintCommand as BaseLintCommand; class XliffLintCommand extends BaseLintCommand { protected static $defaultName = 'lint:xliff'; - protected static $defaultDescription = 'Lints a XLIFF file and outputs encountered errors'; + protected static $defaultDescription = 'Lints an XLIFF file and outputs encountered errors'; public function __construct() { diff --git a/src/Symfony/Bundle/FrameworkBundle/Command/YamlLintCommand.php b/src/Symfony/Bundle/FrameworkBundle/Command/YamlLintCommand.php index 5c65b09a61..fbd74ff606 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Command/YamlLintCommand.php +++ b/src/Symfony/Bundle/FrameworkBundle/Command/YamlLintCommand.php @@ -24,7 +24,7 @@ use Symfony\Component\Yaml\Command\LintCommand as BaseLintCommand; class YamlLintCommand extends BaseLintCommand { protected static $defaultName = 'lint:yaml'; - protected static $defaultDescription = 'Lints a file and outputs encountered errors'; + protected static $defaultDescription = 'Lints a YAML file and outputs encountered errors'; public function __construct() { diff --git a/src/Symfony/Bundle/TwigBundle/Command/LintCommand.php b/src/Symfony/Bundle/TwigBundle/Command/LintCommand.php index 1a5ff90fb6..9982876010 100644 --- a/src/Symfony/Bundle/TwigBundle/Command/LintCommand.php +++ b/src/Symfony/Bundle/TwigBundle/Command/LintCommand.php @@ -23,7 +23,7 @@ use Symfony\Component\Finder\Finder; final class LintCommand extends BaseLintCommand { protected static $defaultName = 'lint:twig'; - protected static $defaultDescription = 'Lints a template and outputs encountered errors'; + protected static $defaultDescription = 'Lints a Twig template and outputs encountered errors'; /** * {@inheritdoc} diff --git a/src/Symfony/Component/Translation/Command/XliffLintCommand.php b/src/Symfony/Component/Translation/Command/XliffLintCommand.php index f246b7ea33..152df3bcb2 100644 --- a/src/Symfony/Component/Translation/Command/XliffLintCommand.php +++ b/src/Symfony/Component/Translation/Command/XliffLintCommand.php @@ -31,7 +31,7 @@ use Symfony\Component\Translation\Util\XliffUtils; class XliffLintCommand extends Command { protected static $defaultName = 'lint:xliff'; - protected static $defaultDescription = 'Lints a XLIFF file and outputs encountered errors'; + protected static $defaultDescription = 'Lints an XLIFF file and outputs encountered errors'; private $format; private $displayCorrectFiles; diff --git a/src/Symfony/Component/Yaml/Command/LintCommand.php b/src/Symfony/Component/Yaml/Command/LintCommand.php index 5375bf460d..cd0cbf2464 100644 --- a/src/Symfony/Component/Yaml/Command/LintCommand.php +++ b/src/Symfony/Component/Yaml/Command/LintCommand.php @@ -33,7 +33,7 @@ use Symfony\Component\Yaml\Yaml; class LintCommand extends Command { protected static $defaultName = 'lint:yaml'; - protected static $defaultDescription = 'Lints a file and outputs encountered errors'; + protected static $defaultDescription = 'Lints a YAML file and outputs encountered errors'; private $parser; private $format;