Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update to use psr\container #263

Merged
merged 2 commits into from Feb 16, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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