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:
commit
f52ef5dea7
@ -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;
|
||||
|
||||
|
@ -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()
|
||||
{
|
||||
|
@ -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()
|
||||
{
|
||||
|
@ -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}
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
Reference in New Issue
Block a user