Skip to content

Commit

Permalink
fix: exit with success command line status 0 for not implemented things
Browse files Browse the repository at this point in the history
  • Loading branch information
phil-davis committed Dec 22, 2023
1 parent 3a32600 commit afcb3e2
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/Command/BackupDataCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@ protected function configure() {
*/
protected function execute(InputInterface $input, OutputInterface $output): int {
$output->writeln('upgrade:backupData command is not implemented');
return 1;
return 0;
}
}
2 changes: 1 addition & 1 deletion src/Command/BackupDbCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@ protected function configure() {
*/
protected function execute(InputInterface $input, OutputInterface $output): int {
$output->writeln('upgrade:backupDb command is not implemented');
return 1;
return 0;
}
}
2 changes: 1 addition & 1 deletion src/Command/CleanCacheCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@ protected function configure() {
*/
protected function execute(InputInterface $input, OutputInterface $output): int {
$output->writeln('upgrade:cleanCache command is not implemented');
return 1;
return 0;
}
}
2 changes: 1 addition & 1 deletion src/Command/PostUpgradeRepairCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@ protected function configure() {
*/
protected function execute(InputInterface $input, OutputInterface $output): int {
$output->writeln('upgrade:postUpgradeRepair command is not implemented');
return 1;
return 0;
}
}
2 changes: 1 addition & 1 deletion src/Command/PreUpgradeRepairCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@ protected function configure() {
*/
protected function execute(InputInterface $input, OutputInterface $output): int {
$output->writeln('upgrade:preUpgradeRepair command is not implemented');
return 1;
return 0;
}
}
2 changes: 1 addition & 1 deletion src/Command/RestartWebServerCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@ protected function configure() {
*/
protected function execute(InputInterface $input, OutputInterface $output): int {
$output->writeln('upgrade:restartWebServer command is not implemented');
return 1;
return 0;
}
}
2 changes: 1 addition & 1 deletion src/Command/UpdateConfigCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@ protected function configure() {
*/
protected function execute(InputInterface $input, OutputInterface $output): int {
$output->writeln('upgrade:updateConfig command is not implemented');
return 1;
return 0;
}
}

0 comments on commit afcb3e2

Please sign in to comment.