Skip to content

Commit f3b5f65

Browse files
smnandrefabpot
authored andcommitted
[CS] Fix command descriptions (code conventions)
* remove ending dot * use imperative mood See: https://symfony.com/doc/current/contributing/code/conventions.html#naming-commands-and-options
1 parent 21a2f61 commit f3b5f65

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Command/TranslationUpdateCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
*
4040
* @final
4141
*/
42-
#[AsCommand(name: 'translation:extract', description: 'Extract missing translations keys from code to translation files.')]
42+
#[AsCommand(name: 'translation:extract', description: 'Extract missing translations keys from code to translation files')]
4343
class TranslationUpdateCommand extends Command
4444
{
4545
private const ASC = 'asc';

Command/XliffLintCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
*
2424
* @final
2525
*/
26-
#[AsCommand(name: 'lint:xliff', description: 'Lints an XLIFF file and outputs encountered errors')]
26+
#[AsCommand(name: 'lint:xliff', description: 'Lint an XLIFF file and outputs encountered errors')]
2727
class XliffLintCommand extends BaseLintCommand
2828
{
2929
public function __construct()

0 commit comments

Comments
 (0)