Skip to content
This repository was archived by the owner on Dec 9, 2023. It is now read-only.

Commit a3a7b80

Browse files
committed
Fix #36973: Command description consistency
1 parent 8e159ee commit a3a7b80

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

Command/ServerLogCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ protected function configure()
6262
->addOption('format', null, InputOption::VALUE_REQUIRED, 'The line format', ConsoleFormatter::SIMPLE_FORMAT)
6363
->addOption('date-format', null, InputOption::VALUE_REQUIRED, 'The date format', ConsoleFormatter::SIMPLE_DATE)
6464
->addOption('filter', null, InputOption::VALUE_REQUIRED, 'An expression to filter log. Example: "level > 200 or channel in [\'app\', \'doctrine\']"')
65-
->setDescription('Starts a log server that displays logs in real time')
65+
->setDescription('Start a log server that displays logs in real time')
6666
->setHelp(<<<'EOF'
6767
<info>%command.name%</info> starts a log server to display in real time the log
6868
messages generated by your application:

Command/ServerRunCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ protected function configure()
5757
new InputOption('docroot', 'd', InputOption::VALUE_REQUIRED, 'Document root, usually where your front controllers are stored'),
5858
new InputOption('router', 'r', InputOption::VALUE_REQUIRED, 'Path to custom router script'),
5959
])
60-
->setDescription('Runs a local web server')
60+
->setDescription('Run a local web server')
6161
->setHelp(<<<'EOF'
6262
<info>%command.name%</info> runs a local web server: By default, the server
6363
listens on <comment>127.0.0.1</> address and the port number is automatically selected

Command/ServerStartCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ protected function configure()
5858
new InputOption('router', 'r', InputOption::VALUE_REQUIRED, 'Path to custom router script'),
5959
new InputOption('pidfile', null, InputOption::VALUE_REQUIRED, 'PID file'),
6060
])
61-
->setDescription('Starts a local web server in the background')
61+
->setDescription('Start a local web server in the background')
6262
->setHelp(<<<'EOF'
6363
<info>%command.name%</info> runs a local web server: By default, the server
6464
listens on <comment>127.0.0.1</> address and the port number is automatically selected

Command/ServerStatusCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ protected function configure()
5151
new InputOption('pidfile', null, InputOption::VALUE_REQUIRED, 'PID file'),
5252
new InputOption('filter', null, InputOption::VALUE_REQUIRED, 'The value to display (one of port, host, or address)'),
5353
])
54-
->setDescription('Outputs the status of the local web server')
54+
->setDescription('Output the status of the local web server')
5555
->setHelp(<<<'EOF'
5656
<info>%command.name%</info> shows the details of the given local web
5757
server, such as the address and port where it is listening to:

Command/ServerStopCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ protected function configure()
4848
->setDefinition([
4949
new InputOption('pidfile', null, InputOption::VALUE_REQUIRED, 'PID file'),
5050
])
51-
->setDescription('Stops the local web server that was started with the server:start command')
51+
->setDescription('Stop the local web server that was started with the server:start command')
5252
->setHelp(<<<'EOF'
5353
<info>%command.name%</info> stops the local web server:
5454

0 commit comments

Comments
 (0)