Skip to content

Commit 3f8b570

Browse files
committed
Merge branch '5.2' into 5.x
* 5.2: Fix #36973: Command description consistency Render email once
2 parents a4ee3db + a26f088 commit 3f8b570

24 files changed

+46
-46
lines changed

Command/AboutCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
class AboutCommand extends Command
3131
{
3232
protected static $defaultName = 'about';
33-
protected static $defaultDescription = 'Displays information about the current project';
33+
protected static $defaultDescription = 'Display information about the current project';
3434

3535
/**
3636
* {@inheritdoc}

Command/AssetsInstallCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class AssetsInstallCommand extends Command
4040
public const METHOD_RELATIVE_SYMLINK = 'relative symlink';
4141

4242
protected static $defaultName = 'assets:install';
43-
protected static $defaultDescription = 'Installs bundles web assets under a public directory';
43+
protected static $defaultDescription = 'Install bundle\'s web assets under a public directory';
4444

4545
private $filesystem;
4646
private $projectDir;
@@ -62,7 +62,7 @@ protected function configure()
6262
->setDefinition([
6363
new InputArgument('target', InputArgument::OPTIONAL, 'The target directory', null),
6464
])
65-
->addOption('symlink', null, InputOption::VALUE_NONE, 'Symlinks the assets instead of copying it')
65+
->addOption('symlink', null, InputOption::VALUE_NONE, 'Symlink the assets instead of copying them')
6666
->addOption('relative', null, InputOption::VALUE_NONE, 'Make relative symlinks')
6767
->addOption('no-cleanup', null, InputOption::VALUE_NONE, 'Do not remove the assets of the bundles that no longer exist')
6868
->setDescription(self::$defaultDescription)

Command/CacheClearCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
class CacheClearCommand extends Command
3737
{
3838
protected static $defaultName = 'cache:clear';
39-
protected static $defaultDescription = 'Clears the cache';
39+
protected static $defaultDescription = 'Clear the cache';
4040

4141
private $cacheClearer;
4242
private $filesystem;

Command/CachePoolClearCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
final class CachePoolClearCommand extends Command
2929
{
3030
protected static $defaultName = 'cache:pool:clear';
31-
protected static $defaultDescription = 'Clears cache pools';
31+
protected static $defaultDescription = 'Clear cache pools';
3232

3333
private $poolClearer;
3434

Command/CachePoolDeleteCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
final class CachePoolDeleteCommand extends Command
2727
{
2828
protected static $defaultName = 'cache:pool:delete';
29-
protected static $defaultDescription = 'Deletes an item from a cache pool';
29+
protected static $defaultDescription = 'Delete an item from a cache pool';
3030

3131
private $poolClearer;
3232

Command/CachePoolPruneCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
final class CachePoolPruneCommand extends Command
2626
{
2727
protected static $defaultName = 'cache:pool:prune';
28-
protected static $defaultDescription = 'Prunes cache pools';
28+
protected static $defaultDescription = 'Prune cache pools';
2929

3030
private $pools;
3131

Command/CacheWarmupCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
class CacheWarmupCommand extends Command
3030
{
3131
protected static $defaultName = 'cache:warmup';
32-
protected static $defaultDescription = 'Warms up an empty cache';
32+
protected static $defaultDescription = 'Warm up an empty cache';
3333

3434
private $cacheWarmer;
3535

Command/ConfigDebugCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
class ConfigDebugCommand extends AbstractConfigCommand
3434
{
3535
protected static $defaultName = 'debug:config';
36-
protected static $defaultDescription = 'Dumps the current configuration for an extension';
36+
protected static $defaultDescription = 'Dump the current configuration for an extension';
3737

3838
/**
3939
* {@inheritdoc}

Command/ConfigDumpReferenceCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
class ConfigDumpReferenceCommand extends AbstractConfigCommand
3737
{
3838
protected static $defaultName = 'config:dump-reference';
39-
protected static $defaultDescription = 'Dumps the default configuration for an extension';
39+
protected static $defaultDescription = 'Dump the default configuration for an extension';
4040

4141
/**
4242
* {@inheritdoc}

Command/ContainerDebugCommand.php

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class ContainerDebugCommand extends Command
3535
use BuildDebugContainerTrait;
3636

3737
protected static $defaultName = 'debug:container';
38-
protected static $defaultDescription = 'Displays current services for an application';
38+
protected static $defaultDescription = 'Display current services for an application';
3939

4040
/**
4141
* {@inheritdoc}
@@ -45,18 +45,18 @@ protected function configure()
4545
$this
4646
->setDefinition([
4747
new InputArgument('name', InputArgument::OPTIONAL, 'A service name (foo)'),
48-
new InputOption('show-arguments', null, InputOption::VALUE_NONE, 'Used to show arguments in services'),
49-
new InputOption('show-hidden', null, InputOption::VALUE_NONE, 'Used to show hidden (internal) services'),
50-
new InputOption('tag', null, InputOption::VALUE_REQUIRED, 'Shows all services with a specific tag'),
51-
new InputOption('tags', null, InputOption::VALUE_NONE, 'Displays tagged services for an application'),
52-
new InputOption('parameter', null, InputOption::VALUE_REQUIRED, 'Displays a specific parameter for an application'),
53-
new InputOption('parameters', null, InputOption::VALUE_NONE, 'Displays parameters for an application'),
54-
new InputOption('types', null, InputOption::VALUE_NONE, 'Displays types (classes/interfaces) available in the container'),
55-
new InputOption('env-var', null, InputOption::VALUE_REQUIRED, 'Displays a specific environment variable used in the container'),
56-
new InputOption('env-vars', null, InputOption::VALUE_NONE, 'Displays environment variables used in the container'),
48+
new InputOption('show-arguments', null, InputOption::VALUE_NONE, 'Show arguments in services'),
49+
new InputOption('show-hidden', null, InputOption::VALUE_NONE, 'Show hidden (internal) services'),
50+
new InputOption('tag', null, InputOption::VALUE_REQUIRED, 'Show all services with a specific tag'),
51+
new InputOption('tags', null, InputOption::VALUE_NONE, 'Display tagged services for an application'),
52+
new InputOption('parameter', null, InputOption::VALUE_REQUIRED, 'Display a specific parameter for an application'),
53+
new InputOption('parameters', null, InputOption::VALUE_NONE, 'Display parameters for an application'),
54+
new InputOption('types', null, InputOption::VALUE_NONE, 'Display types (classes/interfaces) available in the container'),
55+
new InputOption('env-var', null, InputOption::VALUE_REQUIRED, 'Display a specific environment variable used in the container'),
56+
new InputOption('env-vars', null, InputOption::VALUE_NONE, 'Display environment variables used in the container'),
5757
new InputOption('format', null, InputOption::VALUE_REQUIRED, 'The output format (txt, xml, json, or md)', 'txt'),
5858
new InputOption('raw', null, InputOption::VALUE_NONE, 'To output raw description'),
59-
new InputOption('deprecations', null, InputOption::VALUE_NONE, 'Displays deprecations generated when compiling and warming up the container'),
59+
new InputOption('deprecations', null, InputOption::VALUE_NONE, 'Display deprecations generated when compiling and warming up the container'),
6060
])
6161
->setDescription(self::$defaultDescription)
6262
->setHelp(<<<'EOF'

0 commit comments

Comments
 (0)