Skip to content

Commit

Permalink
Merge pull request #4 from andriuspetrauskis/status-check-command-ret…
Browse files Browse the repository at this point in the history
…urn-exit-code

Add command exit codes for older symfony/command versions
  • Loading branch information
developer-ns authored May 10, 2021
2 parents 43f2090 + 764de70 commit 41be891
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Commands/StatusCheckCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@

class StatusCheckCommand extends Command
{
public const SUCCESS = 0;
public const FAILURE = 1;

private $statusCheckerService;

public function __construct(StatusCheckerService $statusCheckerService)
Expand Down

0 comments on commit 41be891

Please sign in to comment.