Skip to content

Commit 0ea4430

Browse files
authored
Merge pull request #14 from mdrost/psr-container
Replace Interop\Container with Psr\Container
2 parents 38eeac1 + 8bcdda8 commit 0ea4430

File tree

5 files changed

+16
-13
lines changed

5 files changed

+16
-13
lines changed

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
"api-clients/service": "dev-master",
1818
"api-clients/transport": "dev-master",
1919
"league/event": "^2.1",
20-
"php-di/php-di": "^5.4"
20+
"php-di/php-di": "^5.4.1",
21+
"psr/container": "^1.0"
2122
},
2223
"require-dev": {
2324
"api-clients/test-utilities": "^2.0"

composer.lock

Lines changed: 11 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Client.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace ApiClients\Foundation;
44

55
use ApiClients\Tools\CommandBus\CommandBusInterface;
6-
use Interop\Container\ContainerInterface;
6+
use Psr\Container\ContainerInterface;
77
use React\Promise\CancellablePromiseInterface;
88

99
final class Client implements ClientInterface

src/ClientInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace ApiClients\Foundation;
44

5-
use Interop\Container\ContainerInterface;
5+
use Psr\Container\ContainerInterface;
66
use React\Promise\CancellablePromiseInterface;
77

88
interface ClientInterface

src/Factory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
use ApiClients\Tools\CommandBus\CommandBusInterface;
1212
use ApiClients\Tools\CommandBus\Factory as CommandBusFactory;
1313
use DI\ContainerBuilder;
14-
use Interop\Container\ContainerInterface;
14+
use Psr\Container\ContainerInterface;
1515
use InvalidArgumentException;
1616
use React\EventLoop\LoopInterface;
1717

0 commit comments

Comments
 (0)