Skip to content

Commit 954c23b

Browse files
authored
Merge pull request #10 from staabm/patch-1
declare "analyze" as an alias for "analyse"
2 parents 61d8a96 + 4f9ed9a commit 954c23b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/voku/PHPDoctor/CliCommand/PhpDoctorCommand.php

+2
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
final class PhpDoctorCommand extends Command
1919
{
2020
public const COMMAND_NAME = 'analyse';
21+
public const ALIASES = ['analyze'];
2122

2223
/**
2324
* @var string[]
@@ -38,6 +39,7 @@ public function configure(): void
3839
{
3940
$this
4041
->setName(self::COMMAND_NAME)
42+
->setAliases(self::ALIASES)
4143
->setDescription('Check PHP files or directories for missing types.')
4244
->setDefinition(
4345
new InputDefinition(

0 commit comments

Comments
 (0)