Skip to content

Commit 47a9772

Browse files
committed
guard for test
1 parent 0caf67d commit 47a9772

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/Tracing/Cache/TraceableTagAwareCacheAdapterTest.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,10 @@
1212
use Symfony\Component\Cache\Adapter\TagAwareAdapterInterface;
1313
use Symfony\Contracts\Cache\NamespacedPoolInterface;
1414

15-
interface TagAwareNamespacedPoolInterface extends TagAwareAdapterInterface, NamespacedPoolInterface
16-
{
15+
if (interface_exists(NamespacedPoolInterface::class)) {
16+
interface TagAwareNamespacedPoolInterface extends TagAwareAdapterInterface, NamespacedPoolInterface
17+
{
18+
}
1719
}
1820

1921
/**

0 commit comments

Comments
 (0)