Skip to content

Commit

Permalink
replaced container-interop by psr/container
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarotero committed Feb 27, 2017
1 parent ed3d131 commit 689e7da
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## 0.5.0 - 2017-02-27

## Changed

* Replaced `container-interop` by `psr/container`

## 0.4.0 - 2017-02-05

## Changed
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@
"php": "^5.6 || ^7.0",
"http-interop/http-middleware": "^0.4",
"nikic/fast-route": "^1.0",
"middlewares/utils": "~0.9"
"middlewares/utils": "~0.10"
},
"require-dev": {
"phpunit/phpunit": "^5.5",
"zendframework/zend-diactoros": "^1.3",
"friendsofphp/php-cs-fixer": "^2.0",
"squizlabs/php_codesniffer": "^2.7",
"container-interop/container-interop": "^1.1"
"psr/container": "^1.0"
},
"suggest": {
"container-interop/container-interop": "Can be used to automatically resolve route actions"
Expand Down
2 changes: 1 addition & 1 deletion src/FastRoute.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
use Middlewares\Utils\CallableResolver\ReflectionResolver;
use Psr\Http\Message\ServerRequestInterface;
use Psr\Http\Message\ResponseInterface;
use Interop\Container\ContainerInterface;
use Psr\Container\ContainerInterface;
use Interop\Http\ServerMiddleware\MiddlewareInterface;
use Interop\Http\ServerMiddleware\DelegateInterface;
use FastRoute\Dispatcher;
Expand Down
2 changes: 1 addition & 1 deletion tests/FastRouteTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Middlewares\Tests;

use Interop\Container\ContainerInterface;
use Psr\Container\ContainerInterface;
use Middlewares\FastRoute;
use Middlewares\Utils\Dispatcher;
use Middlewares\Utils\Factory;
Expand Down

0 comments on commit 689e7da

Please sign in to comment.