diff --git a/CHANGELOG.md b/CHANGELOG.md index 1aa8bdab3c684042d0463cf064eda474987b3d1b..2b8ed6279ea6c254f38911509713532bbcd2e44e 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 8a13834cb20ae311f8e59d9a7a3133e4dbf87580..e8e16976a2ee7cd4625cfb60aded5152c010e222 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 ) {