Skip to content

Commit

Permalink
Merge pull request #263 from basz/psr
Browse files Browse the repository at this point in the history
update to use psr\container
  • Loading branch information
prolic committed Feb 16, 2017
2 parents 71593a7 + 4bc9567 commit 97e325c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions composer.json
Expand Up @@ -29,11 +29,11 @@
"marc-mabe/php-enum": "^2.3.1"
},
"require-dev": {
"container-interop/container-interop": "^1.1",
"sandrokeil/interop-config": "^2.0.1",
"phpunit/phpunit": "^6.0",
"phpspec/prophecy": "dev-patch-1 as 1.6.2",
"prooph/php-cs-fixer-config": "^0.1.1",
"psr/container": "^1.0",
"satooshi/php-coveralls": "^1.0",
"zendframework/zend-servicemanager": "^3.1",
"tobiju/bookdown-bootswatch-templates": "^1.0",
Expand All @@ -43,7 +43,7 @@
"prooph/pdo-event-store": "For usage with MySQL or Postgres as event store",
"prooph/event-sourcing" : "Basic functionality for event sourced aggregates",
"prooph/service-bus" : "Message bus facade to connect the event store with messaging systems",
"container-interop/container-interop": "For usage of provided factories",
"psr/container": "^1.0 for usage of provided factories",
"sandrokeil/interop-config": "For usage of provided factories"
},
"conflict": {
Expand Down
2 changes: 1 addition & 1 deletion src/Container/InMemoryEventStoreFactory.php
Expand Up @@ -16,7 +16,6 @@
use Interop\Config\ProvidesDefaultOptions;
use Interop\Config\RequiresConfig;
use Interop\Config\RequiresConfigId;
use Interop\Container\ContainerInterface;
use Prooph\Common\Event\ProophActionEventEmitter;
use Prooph\EventStore\Exception\ConfigurationException;
use Prooph\EventStore\Exception\InvalidArgumentException;
Expand All @@ -27,6 +26,7 @@
use Prooph\EventStore\Plugin\Plugin;
use Prooph\EventStore\TransactionalActionEventEmitterEventStore;
use Prooph\EventStore\TransactionalEventStore;
use Psr\Container\ContainerInterface;

final class InMemoryEventStoreFactory implements
ProvidesDefaultOptions,
Expand Down
2 changes: 1 addition & 1 deletion tests/Container/InMemoryEventStoreFactoryTest.php
Expand Up @@ -12,7 +12,6 @@

namespace ProophTest\EventStore\Container;

use Interop\Container\ContainerInterface;
use PHPUnit\Framework\TestCase;
use Prooph\Common\Event\ActionEventEmitter;
use Prooph\Common\Messaging\Message;
Expand All @@ -29,6 +28,7 @@
use ProophTest\EventStore\Mock\UserCreated;
use ProophTest\EventStore\Mock\UsernameChanged;
use Prophecy\Argument;
use Psr\Container\ContainerInterface;

class InMemoryEventStoreFactoryTest extends TestCase
{
Expand Down

0 comments on commit 97e325c

Please sign in to comment.