mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-02 13:02:24 +08:00
Fixes #14188: Add constants and function for sysexits(3) to ConsoleHelper
This commit is contained in:
committed by
Alexander Makarov
parent
0adae899ce
commit
2f9f15bf92
@ -39,7 +39,13 @@ use yii\helpers\Console;
|
||||
*/
|
||||
class Controller extends \yii\base\Controller
|
||||
{
|
||||
/**
|
||||
* @deprecated since 2.0.13. Use [[ExitCode::OK]] instead.
|
||||
*/
|
||||
const EXIT_CODE_NORMAL = 0;
|
||||
/**
|
||||
* @deprecated since 2.0.13. Use [[ExitCode::UNSPECIFIED_ERROR]] instead.
|
||||
*/
|
||||
const EXIT_CODE_ERROR = 1;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user