Skip to content

Commit

Permalink
Make command lazily loaded
Browse files Browse the repository at this point in the history
  • Loading branch information
kefzce committed Sep 21, 2020
1 parent 17e69ae commit 784fdaa
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.2 (2020-07-08)
- Use `jean85/pretty-package-versions` `^1.5` to leverage the new `getRootPackageVersion` method (c8799ac)
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 784fdaa

Please sign in to comment.