Skip to content

Commit 67fa5c6

Browse files
committed
feature #35478 [Console] Add constants for main exit codes (Chi-teck)
This PR was squashed before being merged into the 5.1-dev branch (closes #35478). Discussion ---------- [Console] Add constants for main exit codes | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | yes | Deprecations? |no | Tickets | Fix #35431 | License | MIT Commits ------- 5f6a1acaac [Console] Add constants for main exit codes
2 parents caa18f3 + 27327a5 commit 67fa5c6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Command/Command.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@
2929
*/
3030
class Command
3131
{
32+
public const SUCCESS = 0;
33+
public const FAILURE = 1;
34+
3235
/**
3336
* @var string|null The default command name
3437
*/

0 commit comments

Comments
 (0)