Skip to content

Commit

Permalink
Make command lazily loaded (#373)
Browse files Browse the repository at this point in the history
  • Loading branch information
kefzce committed Nov 9, 2020
1 parent 0cc7739 commit e9e5ec1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## Unreleased
- ...
- CLI commands registration policy changed to lazy load

## 3.5.3 (2020-10-13)
- Refactors and fixes class aliases for more robustness (#315 #359, thanks to @guilliamxavier)
Expand Down
5 changes: 1 addition & 4 deletions src/Command/SentryTestCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@

class SentryTestCommand extends Command
{
public function __construct()
{
parent::__construct('sentry:test');
}
protected static $defaultName = 'sentry:test';

protected function execute(InputInterface $input, OutputInterface $output): int
{
Expand Down

0 comments on commit e9e5ec1

Please sign in to comment.