Skip to content

Commit 7b520c3

Browse files
committed
Fix failed static integration tests
1 parent a817311 commit 7b520c3

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

lib/internal/Magento/Framework/Config/ConfigOptionsListConstants.php

+2
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,8 @@ class ConfigOptionsListConstants
152152

153153
/**
154154
* Size of random string generated for store's encryption key
155+
* phpcs:disable
155156
*/
156157
const STORE_KEY_RANDOM_STRING_SIZE = SODIUM_CRYPTO_AEAD_CHACHA20POLY1305_KEYBYTES;
158+
//phpcs:enable
157159
}

setup/src/Magento/Setup/Model/ConfigOptionsList.php

+4-3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
* Copyright © Magento, Inc. All rights reserved.
44
* See COPYING.txt for license details.
55
*/
6+
declare(strict_types=1);
67

78
namespace Magento\Setup\Model;
89

@@ -177,23 +178,23 @@ public function getOptions()
177178
ConfigOptionsListConstants::CONFIG_PATH_DB_CONNECTION_DEFAULT_DRIVER_OPTIONS .
178179
'/' . ConfigOptionsListConstants::KEY_MYSQL_SSL_KEY,
179180
'Full path of client key file in order to establish db connection through SSL',
180-
null
181+
''
181182
),
182183
new TextConfigOption(
183184
ConfigOptionsListConstants::INPUT_KEY_DB_SSL_CERT,
184185
TextConfigOption::FRONTEND_WIZARD_TEXT,
185186
ConfigOptionsListConstants::CONFIG_PATH_DB_CONNECTION_DEFAULT_DRIVER_OPTIONS .
186187
'/' . ConfigOptionsListConstants::KEY_MYSQL_SSL_CERT,
187188
'Full path of client certificate file in order to establish db connection through SSL',
188-
null
189+
''
189190
),
190191
new TextConfigOption(
191192
ConfigOptionsListConstants::INPUT_KEY_DB_SSL_CA,
192193
TextConfigOption::FRONTEND_WIZARD_TEXT,
193194
ConfigOptionsListConstants::CONFIG_PATH_DB_CONNECTION_DEFAULT_DRIVER_OPTIONS .
194195
'/' . ConfigOptionsListConstants::KEY_MYSQL_SSL_CA,
195196
'Full path of server certificate file in order to establish db connection through SSL',
196-
null
197+
''
197198
),
198199
new FlagConfigOption(
199200
ConfigOptionsListConstants::INPUT_KEY_DB_SSL_VERIFY,

0 commit comments

Comments
 (0)