diff --git a/src/DI/Bridge/Symfony/SymfonyContainerBridge.php b/src/DI/Bridge/Symfony/SymfonyContainerBridge.php index 1be5b66..f9dfd33 100644 --- a/src/DI/Bridge/Symfony/SymfonyContainerBridge.php +++ b/src/DI/Bridge/Symfony/SymfonyContainerBridge.php @@ -9,12 +9,12 @@ namespace DI\Bridge\Symfony; -use DI\ContainerInterface; use DI\NotFoundException; use Symfony\Component\DependencyInjection\Container as SymfonyContainer; use Symfony\Component\DependencyInjection\ContainerAwareInterface; use Symfony\Component\DependencyInjection\ContainerInterface as SymfonyContainerInterface; use Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException; +use Interop\Container\ContainerInterface; /** * Replacement for the Symfony service container. diff --git a/tests/UnitTest/DI/Bridge/Symfony/SymfonyContainerBridgeTest.php b/tests/UnitTest/DI/Bridge/Symfony/SymfonyContainerBridgeTest.php index eb229ac..e6fa50b 100644 --- a/tests/UnitTest/DI/Bridge/Symfony/SymfonyContainerBridgeTest.php +++ b/tests/UnitTest/DI/Bridge/Symfony/SymfonyContainerBridgeTest.php @@ -19,7 +19,7 @@ public function testHasFallback() { $wrapper = new SymfonyContainerBridge(); - $fallback = $this->getMockForAbstractClass('DI\ContainerInterface'); + $fallback = $this->getMockForAbstractClass('Interop\Container\ContainerInterface'); $fallback->expects($this->once()) ->method('has') ->with('foo') @@ -34,7 +34,7 @@ public function testGetFallback() { $wrapper = new SymfonyContainerBridge(); - $fallback = $this->getMockForAbstractClass('DI\ContainerInterface'); + $fallback = $this->getMockForAbstractClass('Interop\Container\ContainerInterface'); $fallback->expects($this->once()) ->method('get') ->with('foo')