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
This commit is contained in:
commit
5b38f70367
@ -29,6 +29,9 @@ use Symfony\Component\Console\Output\OutputInterface;
|
|||||||
*/
|
*/
|
||||||
class Command
|
class Command
|
||||||
{
|
{
|
||||||
|
public const SUCCESS = 0;
|
||||||
|
public const FAILURE = 1;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var string|null The default command name
|
* @var string|null The default command name
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user