Skip to content

Commit 14ea31c

Browse files
committed
Merge remote-tracking branch 'falcon/MAGETWO-66906' into falcons-pr-bugfixes-2
2 parents 0a86722 + 0714e35 commit 14ea31c

File tree

1 file changed

+20
-10
lines changed

1 file changed

+20
-10
lines changed

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

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ public function __construct(
102102
protected function configure()
103103
{
104104
$this->setName('setup:store-config:set')
105-
->setDescription('Installs the store configuration')
105+
->setDescription('Installs the store configuration. Deprecated since 2.2.0. Use config:set instead')
106106
->setDefinition($this->getOptionsList());
107107
parent::configure();
108108
}
@@ -141,55 +141,65 @@ public function getOptionsList()
141141
StoreConfigurationDataMapper::KEY_BASE_URL,
142142
null,
143143
InputOption::VALUE_REQUIRED,
144-
'URL the store is supposed to be available at'
144+
'URL the store is supposed to be available at. '
145+
. 'Deprecated, use config:set with path web/unsecure/base_url'
145146
),
146147
new InputOption(
147148
StoreConfigurationDataMapper::KEY_LANGUAGE,
148149
null,
149150
InputOption::VALUE_REQUIRED,
150-
'Default language code'
151+
'Default language code. '
152+
. 'Deprecated, use config:set with path general/locale/code'
151153
),
152154
new InputOption(
153155
StoreConfigurationDataMapper::KEY_TIMEZONE,
154156
null,
155157
InputOption::VALUE_REQUIRED,
156-
'Default time zone code'
158+
'Default time zone code. '
159+
. 'Deprecated, use config:set with path general/locale/timezone'
157160
),
158161
new InputOption(
159162
StoreConfigurationDataMapper::KEY_CURRENCY,
160163
null,
161164
InputOption::VALUE_REQUIRED,
162-
'Default currency code'
165+
'Default currency code. '
166+
. 'Deprecated, use config:set with path currency/options/base, currency/options/default'
167+
. ' and currency/options/allow'
163168
),
164169
new InputOption(
165170
StoreConfigurationDataMapper::KEY_USE_SEF_URL,
166171
null,
167172
InputOption::VALUE_REQUIRED,
168-
'Use rewrites'
173+
'Use rewrites. '
174+
. 'Deprecated, use config:set with path web/seo/use_rewrites'
169175
),
170176
new InputOption(
171177
StoreConfigurationDataMapper::KEY_IS_SECURE,
172178
null,
173179
InputOption::VALUE_REQUIRED,
174-
'Use secure URLs. Enable this option only if SSL is available.'
180+
'Use secure URLs. Enable this option only if SSL is available. '
181+
. 'Deprecated, use config:set with path web/secure/use_in_frontend'
175182
),
176183
new InputOption(
177184
StoreConfigurationDataMapper::KEY_BASE_URL_SECURE,
178185
null,
179186
InputOption::VALUE_REQUIRED,
180-
'Base URL for SSL connection'
187+
'Base URL for SSL connection. '
188+
. 'Deprecated, use config:set with path web/secure/base_url'
181189
),
182190
new InputOption(
183191
StoreConfigurationDataMapper::KEY_IS_SECURE_ADMIN,
184192
null,
185193
InputOption::VALUE_REQUIRED,
186-
'Run admin interface with SSL'
194+
'Run admin interface with SSL. '
195+
. 'Deprecated, use config:set with path web/secure/use_in_adminhtml'
187196
),
188197
new InputOption(
189198
StoreConfigurationDataMapper::KEY_ADMIN_USE_SECURITY_KEY,
190199
null,
191200
InputOption::VALUE_REQUIRED,
192-
'Whether to use a "security key" feature in Magento Admin URLs and forms'
201+
'Whether to use a "security key" feature in Magento Admin URLs and forms. '
202+
. 'Deprecated, use config:set with path admin/security/use_form_key'
193203
),
194204
];
195205
}

0 commit comments

Comments
 (0)