Skip to content

Commit

Permalink
Change alias command
Browse files Browse the repository at this point in the history
  • Loading branch information
bennothommo committed Dec 7, 2024
1 parent 9d1b92f commit b1a5a79
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions modules/system/console/WinterSniff.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,16 +46,10 @@ class WinterSniff extends BaseScaffoldCommand
'scaffold/phpcs/phpcs.xml.stub' => 'phpcs.xml',
];

/**
* Create a new command instance.
*/
public function __construct()
{
parent::__construct();
protected $replaces = [
'winter:phpcs',
];

// Register aliases for backwards compatibility with October
$this->setAliases(['winter:phpcs']);
}

/**
* Execute the console command.
Expand Down

0 comments on commit b1a5a79

Please sign in to comment.