minor #39918 [FrameworkBundle][TwigBundle] slightly clarify command descriptions (xabbuh)

This PR was merged into the 5.3-dev branch.

Discussion
----------

[FrameworkBundle][TwigBundle] slightly clarify command descriptions

| Q             | A
| ------------- | ---
| Branch?       | 5.x
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Tickets       |
| License       | MIT
| Doc PR        |

Commits
-------

55e421fda3 slightly clarify command descriptions
This commit is contained in:
Christian Flothmann 2021-01-21 12:45:19 +01:00
commit f52ef5dea7
6 changed files with 6 additions and 6 deletions

View File

@ -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;

View File

@ -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()
{

View File

@ -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()
{

View File

@ -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}

View File

@ -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;

View File

@ -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;