@@ -102,7 +102,7 @@ public function __construct(
102
102
protected function configure ()
103
103
{
104
104
$ 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 ' )
106
106
->setDefinition ($ this ->getOptionsList ());
107
107
parent ::configure ();
108
108
}
@@ -141,55 +141,65 @@ public function getOptionsList()
141
141
StoreConfigurationDataMapper::KEY_BASE_URL ,
142
142
null ,
143
143
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 '
145
146
),
146
147
new InputOption (
147
148
StoreConfigurationDataMapper::KEY_LANGUAGE ,
148
149
null ,
149
150
InputOption::VALUE_REQUIRED ,
150
- 'Default language code '
151
+ 'Default language code. '
152
+ . 'Deprecated, use config:set with path general/locale/code '
151
153
),
152
154
new InputOption (
153
155
StoreConfigurationDataMapper::KEY_TIMEZONE ,
154
156
null ,
155
157
InputOption::VALUE_REQUIRED ,
156
- 'Default time zone code '
158
+ 'Default time zone code. '
159
+ . 'Deprecated, use config:set with path general/locale/timezone '
157
160
),
158
161
new InputOption (
159
162
StoreConfigurationDataMapper::KEY_CURRENCY ,
160
163
null ,
161
164
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 '
163
168
),
164
169
new InputOption (
165
170
StoreConfigurationDataMapper::KEY_USE_SEF_URL ,
166
171
null ,
167
172
InputOption::VALUE_REQUIRED ,
168
- 'Use rewrites '
173
+ 'Use rewrites. '
174
+ . 'Deprecated, use config:set with path web/seo/use_rewrites '
169
175
),
170
176
new InputOption (
171
177
StoreConfigurationDataMapper::KEY_IS_SECURE ,
172
178
null ,
173
179
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 '
175
182
),
176
183
new InputOption (
177
184
StoreConfigurationDataMapper::KEY_BASE_URL_SECURE ,
178
185
null ,
179
186
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 '
181
189
),
182
190
new InputOption (
183
191
StoreConfigurationDataMapper::KEY_IS_SECURE_ADMIN ,
184
192
null ,
185
193
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 '
187
196
),
188
197
new InputOption (
189
198
StoreConfigurationDataMapper::KEY_ADMIN_USE_SECURITY_KEY ,
190
199
null ,
191
200
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 '
193
203
),
194
204
];
195
205
}
0 commit comments