Skip to content

Commit 28a10fe

Browse files
committed
Merge remote-tracking branch 'origin/BUG#AC-901' into GL_Mainline_PR_25112021
2 parents 2e604b6 + fe85569 commit 28a10fe

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

app/code/Magento/Config/Setup/ConfigOptionsList.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,22 +22,22 @@ class ConfigOptionsList implements ConfigOptionsListInterface
2222
/**
2323
* Input key for the debug_logging option.
2424
*/
25-
const INPUT_KEY_DEBUG_LOGGING = 'enable-debug-logging';
25+
public const INPUT_KEY_DEBUG_LOGGING = 'enable-debug-logging';
2626

2727
/**
2828
* Path to the debug_logging value in the deployment config.
2929
*/
30-
const CONFIG_PATH_DEBUG_LOGGING = 'dev/debug/debug_logging';
30+
public const CONFIG_PATH_DEBUG_LOGGING = 'dev/debug/debug_logging';
3131

3232
/**
3333
* Input key for the syslog_logging option.
3434
*/
35-
const INPUT_KEY_SYSLOG_LOGGING = 'enable-syslog-logging';
35+
public const INPUT_KEY_SYSLOG_LOGGING = 'enable-syslog-logging';
3636

3737
/**
3838
* Path to the syslog_logging value in the deployment config.
3939
*/
40-
const CONFIG_PATH_SYSLOG_LOGGING = 'dev/syslog/syslog_logging';
40+
public const CONFIG_PATH_SYSLOG_LOGGING = 'dev/syslog/syslog_logging';
4141

4242
/**
4343
* @var ConfigDataFactory

setup/src/Magento/Setup/Console/Command/InstallCommand.php

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -33,61 +33,61 @@ class InstallCommand extends AbstractSetupCommand
3333
/**
3434
* Parameter indicating command whether to cleanup database in the install routine
3535
*/
36-
const INPUT_KEY_CLEANUP_DB = 'cleanup-database';
36+
public const INPUT_KEY_CLEANUP_DB = 'cleanup-database';
3737

3838
/**
3939
* Parameter to specify an order_increment_prefix
4040
*/
41-
const INPUT_KEY_SALES_ORDER_INCREMENT_PREFIX = 'sales-order-increment-prefix';
41+
public const INPUT_KEY_SALES_ORDER_INCREMENT_PREFIX = 'sales-order-increment-prefix';
4242

4343
/**
4444
* Parameter indicating command whether to install Sample Data
4545
*/
46-
const INPUT_KEY_USE_SAMPLE_DATA = 'use-sample-data';
46+
public const INPUT_KEY_USE_SAMPLE_DATA = 'use-sample-data';
4747

4848
/**
4949
* List of comma-separated module names. That must be enabled during installation.
5050
* Available magic param all.
5151
*/
52-
const INPUT_KEY_ENABLE_MODULES = 'enable-modules';
52+
public const INPUT_KEY_ENABLE_MODULES = 'enable-modules';
5353

5454
/**
5555
* List of comma-separated module names. That must be avoided during installation.
5656
* List of comma-separated module names. That must be avoided during installation.
5757
* Available magic param all.
5858
*/
59-
const INPUT_KEY_DISABLE_MODULES = 'disable-modules';
59+
public const INPUT_KEY_DISABLE_MODULES = 'disable-modules';
6060

6161
/**
6262
* If this flag is enabled, than all your old scripts with format:
6363
* InstallSchema, UpgradeSchema will be converted to new db_schema.xml format.
6464
*/
65-
const CONVERT_OLD_SCRIPTS_KEY = 'convert-old-scripts';
65+
public const CONVERT_OLD_SCRIPTS_KEY = 'convert-old-scripts';
6666

6767
/**
6868
* Parameter indicating command for interactive setup
6969
*/
70-
const INPUT_KEY_INTERACTIVE_SETUP = 'interactive';
70+
public const INPUT_KEY_INTERACTIVE_SETUP = 'interactive';
7171

7272
/**
7373
* Parameter indicating command shortcut for interactive setup
7474
*/
75-
const INPUT_KEY_INTERACTIVE_SETUP_SHORTCUT = 'i';
75+
public const INPUT_KEY_INTERACTIVE_SETUP_SHORTCUT = 'i';
7676

7777
/**
7878
* Parameter says that in this mode all destructive operations, like column removal will be dumped
7979
*/
80-
const INPUT_KEY_SAFE_INSTALLER_MODE = 'safe-mode';
80+
public const INPUT_KEY_SAFE_INSTALLER_MODE = 'safe-mode';
8181

8282
/**
8383
* Parameter allows to restore data, that was dumped with safe mode before
8484
*/
85-
const INPUT_KEY_DATA_RESTORE = 'data-restore';
85+
public const INPUT_KEY_DATA_RESTORE = 'data-restore';
8686

8787
/**
8888
* Regex for sales_order_increment_prefix validation.
8989
*/
90-
const SALES_ORDER_INCREMENT_PREFIX_RULE = '/^.{0,20}$/';
90+
public const SALES_ORDER_INCREMENT_PREFIX_RULE = '/^.{0,20}$/';
9191

9292
/**
9393
* Installer service factory

0 commit comments

Comments
 (0)