Skip to content

Commit

Permalink
Merge branch 'master' of ssh://github.com/voku/PHPDoctor
Browse files Browse the repository at this point in the history
* 'master' of ssh://github.com/voku/PHPDoctor:
  declare "analyze" as an alias for "analyse"
  • Loading branch information
Lars Moelleken committed Oct 31, 2022
2 parents 70cb284 + 954c23b commit ea8af60
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/voku/PHPDoctor/CliCommand/PhpDoctorCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
final class PhpDoctorCommand extends Command
{
public const COMMAND_NAME = 'analyse';
public const ALIASES = ['analyze'];

/**
* @var string[]
Expand All @@ -38,6 +39,7 @@ public function configure(): void
{
$this
->setName(self::COMMAND_NAME)
->setAliases(self::ALIASES)
->setDescription('Check PHP files or directories for missing types.')
->setDefinition(
new InputDefinition(
Expand Down

0 comments on commit ea8af60

Please sign in to comment.