From d7b6c7f067a82e4c965c17805f0f4811052c8cb1 Mon Sep 17 00:00:00 2001 From: Arjen van der Meijden Date: Tue, 15 Sep 2020 14:06:07 +0200 Subject: [PATCH] Add forward-compatible constants for Command return codes --- src/Symfony/Component/Console/Command/Command.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Symfony/Component/Console/Command/Command.php b/src/Symfony/Component/Console/Command/Command.php index c2b1f4c7e9087..763731fc6357d 100644 --- a/src/Symfony/Component/Console/Command/Command.php +++ b/src/Symfony/Component/Console/Command/Command.php @@ -29,6 +29,9 @@ */ class Command { + public const SUCCESS = 0; + public const FAILURE = 1; + /** * @var string|null The default command name */