@@ -60,16 +60,16 @@ public function testEnvFilter(): void
6060 ]);
6161 // empty because env flag is not set
6262 $ env = $ environmentConfigLoaderHelper ->getEnv ();
63- $ this -> assertIsArray ($ env );
64- $ this -> assertEmpty ($ env );
63+ static :: assertIsArray ($ env );
64+ static :: assertEmpty ($ env );
6565 $ environmentConfigLoaderHelper ->setEnvStore ([
6666 'OPENMAGE_CONFIG__DEFAULT__GENERAL__STORE_INFORMATION__NAME ' => 'some_value ' ,
6767 'OPENMAGE_CONFIG_OVERRIDE_ALLOWED ' => 1 , // enable feature
6868 ]);
6969 // flag is set => feature is enabled
7070 $ env = $ environmentConfigLoaderHelper ->getEnv ();
71- $ this -> assertIsArray ($ env );
72- $ this -> assertNotEmpty ($ env );
71+ static :: assertIsArray ($ env );
72+ static :: assertNotEmpty ($ env );
7373 }
7474
7575 /**
@@ -215,7 +215,7 @@ public function testAsArray(array $config): void
215215 ]);
216216 $ actual = $ loader ->getAsArray ($ config ['scope ' ]);
217217 $ expected = $ config ['expected ' ];
218- $ this -> assertSame ($ expected , $ actual );
218+ static :: assertSame ($ expected , $ actual );
219219 }
220220
221221 public function envAsArrayDataProvider (): Generator
@@ -227,7 +227,7 @@ public function envAsArrayDataProvider(): Generator
227227 'expected ' => [
228228 'general/store_information/name ' => 1 ,
229229 ],
230- ]
230+ ],
231231 ];
232232 yield 'storeScope ' => [
233233 [
@@ -236,14 +236,14 @@ public function envAsArrayDataProvider(): Generator
236236 'expected ' => [
237237 'general/store_information/name ' => 1 ,
238238 ],
239- ]
239+ ],
240240 ];
241241 yield 'invalidScope ' => [
242242 [
243243 'env_path ' => '' ,
244244 'scope ' => 'foo ' ,
245245 'expected ' => [],
246- ]
246+ ],
247247 ];
248248 }
249249
@@ -264,31 +264,31 @@ public function testHasPath(array $config): void
264264 ]);
265265 $ actual = $ loader ->hasPath ($ config ['xml_path ' ]);
266266 $ expected = $ config ['expected ' ];
267- $ this -> assertSame ($ expected , $ actual );
267+ static :: assertSame ($ expected , $ actual );
268268 }
269269
270270 public function envHasPathDataProvider (): Generator
271271 {
272272 yield 'hasPath default ' => [
273273 [
274- 'env_path ' => 'OPENMAGE_CONFIG__DEFAULT__GENERAL__STORE_INFORMATION__NAME ' ,
275- 'xml_path ' => 'default/general/store_information/name ' ,
276- 'expected ' => true ,
277- ]
274+ 'env_path ' => 'OPENMAGE_CONFIG__DEFAULT__GENERAL__STORE_INFORMATION__NAME ' ,
275+ 'xml_path ' => 'default/general/store_information/name ' ,
276+ 'expected ' => true ,
277+ ],
278278 ];
279279 yield 'hasPath store ' => [
280280 [
281281 'env_path ' => 'OPENMAGE_CONFIG__STORES__GERMAN__GENERAL__STORE_INFORMATION__NAME ' ,
282282 'xml_path ' => 'stores/general/store_information/name ' ,
283283 'expected ' => true ,
284- ]
284+ ],
285285 ];
286286 yield 'hasNotPath ' => [
287287 [
288288 'env_path ' => 'OPENMAGE_CONFIG__DEFAULT__GENERAL__STORE_INFORMATION__NAME ' ,
289289 'xml_path ' => 'foo/foo/foo ' ,
290290 'expected ' => false ,
291- ]
291+ ],
292292 ];
293293 }
294294
0 commit comments