Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 5b38f70

Browse filesBrowse 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 ------- 5f6a1ac [Console] Add constants for main exit codes
2 parents 8769c7a + 5f6a1ac commit 5b38f70
Copy full SHA for 5b38f70

File tree

1 file changed

+3
-0
lines changed
Filter options

1 file changed

+3
-0
lines changed

‎src/Symfony/Component/Console/Command/Command.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Console/Command/Command.php
+3Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.