diff --git a/src/voku/PHPDoctor/CliCommand/PhpDoctorCommand.php b/src/voku/PHPDoctor/CliCommand/PhpDoctorCommand.php index d4da1b3..9cfe148 100644 --- a/src/voku/PHPDoctor/CliCommand/PhpDoctorCommand.php +++ b/src/voku/PHPDoctor/CliCommand/PhpDoctorCommand.php @@ -18,6 +18,7 @@ final class PhpDoctorCommand extends Command { public const COMMAND_NAME = 'analyse'; + public const ALIASES = ['analyze']; /** * @var string[] @@ -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(