@@ -55,13 +55,15 @@ public function testBuildPath(): void
55
55
public function testEnvFilter (): void
56
56
{
57
57
$ environmentConfigLoaderHelper = new EnvironmentConfigLoaderTestHelper ();
58
+ /** @phpstan-ignore method.internal */
58
59
$ environmentConfigLoaderHelper ->setEnvStore ([
59
60
'OPENMAGE_CONFIG__DEFAULT__GENERAL__STORE_INFORMATION__NAME ' => 'some_value ' ,
60
61
]);
61
62
// empty because env flag is not set
62
63
$ env = $ environmentConfigLoaderHelper ->getEnv ();
63
64
static ::assertIsArray ($ env );
64
65
static ::assertEmpty ($ env );
66
+ /** @phpstan-ignore method.internal */
65
67
$ environmentConfigLoaderHelper ->setEnvStore ([
66
68
'OPENMAGE_CONFIG__DEFAULT__GENERAL__STORE_INFORMATION__NAME ' => 'some_value ' ,
67
69
'OPENMAGE_CONFIG_OVERRIDE_ALLOWED ' => 1 , // enable feature
@@ -209,6 +211,7 @@ public function testAsArray(array $config): void
209
211
{
210
212
// phpcs:ignore Ecg.Classes.ObjectInstantiation.DirectInstantiation
211
213
$ loader = new Mage_Core_Helper_EnvironmentConfigLoader ();
214
+ /** @phpstan-ignore method.internal */
212
215
$ loader ->setEnvStore ([
213
216
'OPENMAGE_CONFIG_OVERRIDE_ALLOWED ' => 1 ,
214
217
$ config ['env_path ' ] => 1 ,
@@ -258,6 +261,7 @@ public function testHasPath(array $config): void
258
261
{
259
262
// phpcs:ignore Ecg.Classes.ObjectInstantiation.DirectInstantiation
260
263
$ loader = new Mage_Core_Helper_EnvironmentConfigLoader ();
264
+ /** @phpstan-ignore method.internal */
261
265
$ loader ->setEnvStore ([
262
266
'OPENMAGE_CONFIG_OVERRIDE_ALLOWED ' => 1 ,
263
267
$ config ['env_path ' ] => 1 ,
0 commit comments