mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-03 05:48:11 +08:00
Add visibility for all class elements (#20557)
This commit is contained in:
@ -30,7 +30,7 @@ abstract class BaseMigrateController extends Controller
|
||||
/**
|
||||
* The name of the dummy migration that marks the beginning of the whole migration history.
|
||||
*/
|
||||
const BASE_MIGRATION = 'm000000_000000_base';
|
||||
public const BASE_MIGRATION = 'm000000_000000_base';
|
||||
|
||||
/**
|
||||
* @var string the default command action.
|
||||
|
||||
@ -78,7 +78,7 @@ class MigrateController extends BaseMigrateController
|
||||
* Maximum length of a migration name.
|
||||
* @since 2.0.13
|
||||
*/
|
||||
const MAX_NAME_LENGTH = 180;
|
||||
public const MAX_NAME_LENGTH = 180;
|
||||
|
||||
/**
|
||||
* @var string the name of the table for keeping applied migration information.
|
||||
|
||||
@ -23,10 +23,10 @@ use yii\helpers\Console;
|
||||
*/
|
||||
class ServeController extends Controller
|
||||
{
|
||||
const EXIT_CODE_NO_DOCUMENT_ROOT = 2;
|
||||
const EXIT_CODE_NO_ROUTING_FILE = 3;
|
||||
const EXIT_CODE_ADDRESS_TAKEN_BY_ANOTHER_SERVER = 4;
|
||||
const EXIT_CODE_ADDRESS_TAKEN_BY_ANOTHER_PROCESS = 5;
|
||||
public const EXIT_CODE_NO_DOCUMENT_ROOT = 2;
|
||||
public const EXIT_CODE_NO_ROUTING_FILE = 3;
|
||||
public const EXIT_CODE_ADDRESS_TAKEN_BY_ANOTHER_SERVER = 4;
|
||||
public const EXIT_CODE_ADDRESS_TAKEN_BY_ANOTHER_PROCESS = 5;
|
||||
|
||||
/**
|
||||
* @var int port to serve on.
|
||||
|
||||
Reference in New Issue
Block a user