Skip to content

Commit 3b72f4a

Browse files
authored
Merge branch 'main' into phpunit-pre-symfony
2 parents 76f1cd4 + f2d4f48 commit 3b72f4a

File tree

2 files changed

+26
-26
lines changed

2 files changed

+26
-26
lines changed

composer.lock

Lines changed: 24 additions & 24 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/unit/Mage/Core/Helper/EnvironmentConfigLoaderTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ public function testEnvOverridesForValidConfigKeys(array $config): void
9090
$xml = new Varien_Simplexml_Config();
9191
$xml->loadString($xmlStruct);
9292

93-
// phpcs:ignore Ecg.Classes.ObjectInstantiation.DirectInstantiation
9493
$loader = new Mage_Core_Helper_EnvironmentConfigLoader();
94+
/** @phpstan-ignore method.internal */
9595
$loader->setEnvStore([
9696
$config['env_path'] => $config['value'],
9797
]);
@@ -197,8 +197,8 @@ public function testEnvDoesNotOverrideForInvalidConfigKeys(array $config): void
197197
$defaultStoreValue = 'test_store';
198198
static::assertSame($defaultStoreValue, (string) $xml->getNode(self::XML_PATH_STORE));
199199

200-
// phpcs:ignore Ecg.Classes.ObjectInstantiation.DirectInstantiation
201200
$loader = new Mage_Core_Helper_EnvironmentConfigLoader();
201+
/** @phpstan-ignore method.internal */
202202
$loader->setEnvStore([
203203
$config['path'] => $config['value'],
204204
]);

0 commit comments

Comments
 (0)