Skip to content

Commit 530e21d

Browse files
committed
skipping
1 parent 76c0650 commit 530e21d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/Container/ContainerTest.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,10 @@ public function testNestedDependencyResolution()
228228

229229
public function testLazyObjects()
230230
{
231+
if (version_compare(phpversion(), '8.4.0', '<')) {
232+
$this->markTestSkipped();
233+
}
234+
231235
$container = new Container;
232236
$container->bind(IContainerContractStub::class, ContainerImplementationStub::class);
233237
$class = $container->make(ProxyDependenciesClass::class);
@@ -238,6 +242,10 @@ public function testLazyObjects()
238242

239243
public function testObjectWithLazyDependencies()
240244
{
245+
if (version_compare(phpversion(), '8.4.0', '<')) {
246+
$this->markTestSkipped();
247+
}
248+
241249
$container = new Container;
242250
$container->bind(IContainerContractStub::class, ContainerImplementationStub::class);
243251
$class = $container->make(ClassWithLazyDependencies::class);

0 commit comments

Comments
 (0)