From 2fe55b8f97c63cd2b25428528aabeb136cfd1319 Mon Sep 17 00:00:00 2001 From: Sebastian Pisula <sebastian.pisula@gmail.com> Date: Fri, 17 Feb 2023 19:19:16 +0100 Subject: [PATCH] feature(core): command fix --- CHANGELOG.md | 4 ++++ .../Composer/PrepareActivationReminderCommand.php | 3 +++ 2 files changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1aa8bda..2b8ed62 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## [1.1.6] - 2023-02-20 +### Fixed +- Command return value + ## [1.1.5] - 2021-08-19 ### Fixed - changes in text diff --git a/src/ActivationReminder/Composer/PrepareActivationReminderCommand.php b/src/ActivationReminder/Composer/PrepareActivationReminderCommand.php index 8a13834..e8e1697 100644 --- a/src/ActivationReminder/Composer/PrepareActivationReminderCommand.php +++ b/src/ActivationReminder/Composer/PrepareActivationReminderCommand.php @@ -3,6 +3,7 @@ namespace WPDesk\ActivationReminder\Composer; use Composer\Command\BaseCommand; +use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; @@ -58,6 +59,8 @@ class PrepareActivationReminderCommand extends BaseCommand $this->regenerate_autoload( $target_file, $input ); $output->writeln( "Activation reminder created." ); + + return Command::SUCCESS; } private function create_or_get_target_file_name( array $class_map, $random_class, $random_letter ) { -- GitLab