Skip to content

Commit ff0e32c

Browse files
author
Valentin Clavreul
committed
Fixed return value of list and help commands
1 parent ab2a398 commit ff0e32c

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

Command/ListProcessCommand.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,8 @@ protected function execute(InputInterface $input, OutputInterface $output)
103103
foreach ($outputMessages as $message) {
104104
$output->writeln($message);
105105
}
106+
107+
return 0;
106108
}
107109

108110
/**

Command/ProcessHelpCommand.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,8 @@ static function ($task) use ($nextTaskCode) {
148148
$branchStr = '['.implode(', ', $branches).']';
149149
$output->writeln("<error>All branches are not resolved : {$branchStr}</error>");
150150
}
151+
152+
return 0;
151153
}
152154

153155
/**

Documentation/changelog/CHANGELOG-3.2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ _Nothing yet_
1010

1111
### Fixes
1212

13-
_Nothing yet_
13+
* Fixed return value of list and help commands (mandatory for Symfony 5)
1414

1515
### BC breaks
1616

0 commit comments

Comments
 (0)