Skip to content
Snippets Groups Projects
Commit 7e7a7652 authored by Grzegorz Rola's avatar Grzegorz Rola
Browse files

bugfix(composer): command return value

parent 7d16a152
No related branches found
No related tags found
No related merge requests found
Pipeline #170586 canceled
## [1.1.7] - 2023-03-13
### Fixed
- Command return value
## [1.1.6] - 2023-02-20 ## [1.1.6] - 2023-02-20
### Fixed ### Fixed
- Command return value - Command return value
......
...@@ -11,8 +11,11 @@ ...@@ -11,8 +11,11 @@
"email": "grzegorz@wpdesk.net" "email": "grzegorz@wpdesk.net"
} }
], ],
"platform": {
"php": "7.2"
},
"require": { "require": {
"php": ">=7.0", "php": ">=7.2",
"composer-plugin-api": "^1|^2" "composer-plugin-api": "^1|^2"
}, },
"require-dev": { "require-dev": {
......
...@@ -3,11 +3,9 @@ ...@@ -3,11 +3,9 @@
namespace WPDesk\ActivationReminder\Composer; namespace WPDesk\ActivationReminder\Composer;
use Composer\Command\BaseCommand; use Composer\Command\BaseCommand;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface; use Symfony\Component\Console\Output\OutputInterface;
/** /**
* Can prepare activation reminder for plugin. * Can prepare activation reminder for plugin.
* *
...@@ -60,7 +58,7 @@ class PrepareActivationReminderCommand extends BaseCommand ...@@ -60,7 +58,7 @@ class PrepareActivationReminderCommand extends BaseCommand
$output->writeln( "Activation reminder created." ); $output->writeln( "Activation reminder created." );
return Command::SUCCESS; return 0;
} }
private function create_or_get_target_file_name( array $class_map, $random_class, $random_letter ) { private function create_or_get_target_file_name( array $class_map, $random_class, $random_letter ) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment