Skip to content

Commit ea8af60

Browse files
author
Lars Moelleken
committed
Merge branch 'master' of ssh://github.com/voku/PHPDoctor
* 'master' of ssh://github.com/voku/PHPDoctor: declare "analyze" as an alias for "analyse"
2 parents 70cb284 + 954c23b commit ea8af60

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)