Skip to content

Commit

Permalink
Renamed command to 'php:composer' and added 'composer' as command alias
Browse files Browse the repository at this point in the history
  • Loading branch information
aurimasniekis committed Jan 19, 2021
1 parent d207502 commit 2a83b64
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/PzComposerModule.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public function getCommands(): array
{
return [
new class($this->getCWD()) extends ProcessCommand {
protected static $defaultName = 'composer';
protected static $defaultName = 'php:composer';

public function __construct(private string $cwd)
{
Expand All @@ -36,7 +36,8 @@ public function __construct(private string $cwd)

protected function configure(): void
{
$this->setDescription('Dependency Management for PHP');
$this->setDescription('Dependency Management for PHP')
->setAliases(['composer']);
}

public function getProcess(
Expand Down

0 comments on commit 2a83b64

Please sign in to comment.