Closed
Description
Description
Console commands must return exit code. I propose we define constants for most used exit statuses like it is done in C programming language.
https://www.gnu.org/software/libc/manual/html_node/Exit-Status.html
That would make code a bit more clear.
Example
Before:
return 0;
After:
return self::EXIT_SUCCESS;
Metadata
Metadata
Assignees
Labels
DX = Developer eXperience (anything that improves the experience of using Symfony)DX = Developer eXperience (anything that improves the experience of using Symfony)