diff --git a/CHANGELOG.md b/CHANGELOG.md index 83ee7367..1721ffd7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/src/Command/SentryTestCommand.php b/src/Command/SentryTestCommand.php index f7df7d6b..522702be 100644 --- a/src/Command/SentryTestCommand.php +++ b/src/Command/SentryTestCommand.php @@ -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 {