Skip to content

Commit

Permalink
Merge pull request #10 from staabm/patch-1
Browse files Browse the repository at this point in the history
declare "analyze" as an alias for "analyse"
  • Loading branch information
voku authored Sep 15, 2022
2 parents 61d8a96 + 4f9ed9a commit 954c23b
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 954c23b

Please sign in to comment.