From 2d98c9d5119145d62a9c5286f2edca8478c4c2ac Mon Sep 17 00:00:00 2001 From: Wilmer Arambula Date: Thu, 21 Sep 2023 11:00:42 -0300 Subject: [PATCH] Remove deprecated constant `Controller::class`. --- framework/console/Controller.php | 9 --------- 1 file changed, 9 deletions(-) diff --git a/framework/console/Controller.php b/framework/console/Controller.php index 579b5977830..5d1b660816d 100644 --- a/framework/console/Controller.php +++ b/framework/console/Controller.php @@ -38,15 +38,6 @@ */ 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; - /** * @var bool whether to run the command interactively. */