Skip to content

Commit

Permalink
switch to psr/http-server-middleware:1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
basz committed Jan 23, 2018
1 parent 0bb3a4a commit ae87f97
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"psr/http-message": "^1.0",
"react/promise" : "^2.2",
"fig/http-message-util": "^1.1",
"http-interop/http-server-middleware": "^1.0"
"psr/http-server-middleware": "^1.0"
},
"require-dev": {
"phpunit/phpunit": "^6.5",
Expand Down
4 changes: 2 additions & 2 deletions src/CommandMiddleware.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
namespace Prooph\HttpMiddleware;

use Fig\Http\Message\StatusCodeInterface;
use Interop\Http\Server\MiddlewareInterface;
use Interop\Http\Server\RequestHandlerInterface;
use Psr\Http\Server\MiddlewareInterface;
use Psr\Http\Server\RequestHandlerInterface;
use Prooph\Common\Messaging\MessageFactory;
use Prooph\HttpMiddleware\Exception\RuntimeException;
use Prooph\HttpMiddleware\Response\ResponseStrategy;
Expand Down
4 changes: 2 additions & 2 deletions src/EventMiddleware.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
namespace Prooph\HttpMiddleware;

use Fig\Http\Message\StatusCodeInterface;
use Interop\Http\Server\MiddlewareInterface;
use Interop\Http\Server\RequestHandlerInterface;
use Psr\Http\Server\MiddlewareInterface;
use Psr\Http\Server\RequestHandlerInterface;
use Prooph\Common\Messaging\MessageFactory;
use Prooph\HttpMiddleware\Exception\RuntimeException;
use Prooph\HttpMiddleware\Response\ResponseStrategy;
Expand Down
4 changes: 2 additions & 2 deletions src/MessageMiddleware.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
namespace Prooph\HttpMiddleware;

use Fig\Http\Message\StatusCodeInterface;
use Interop\Http\Server\MiddlewareInterface;
use Interop\Http\Server\RequestHandlerInterface;
use Psr\Http\Server\MiddlewareInterface;
use Psr\Http\Server\RequestHandlerInterface;
use Prooph\Common\Messaging\Message;
use Prooph\Common\Messaging\MessageDataAssertion;
use Prooph\Common\Messaging\MessageFactory;
Expand Down
4 changes: 2 additions & 2 deletions src/QueryMiddleware.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@

use Fig\Http\Message\RequestMethodInterface;
use Fig\Http\Message\StatusCodeInterface;
use Interop\Http\Server\MiddlewareInterface;
use Interop\Http\Server\RequestHandlerInterface;
use Psr\Http\Server\MiddlewareInterface;
use Psr\Http\Server\RequestHandlerInterface;
use Prooph\Common\Messaging\MessageFactory;
use Prooph\HttpMiddleware\Exception\RuntimeException;
use Prooph\HttpMiddleware\Response\ResponseStrategy;
Expand Down
2 changes: 1 addition & 1 deletion tests/CommandMiddlewareTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
namespace ProophTest\HttpMiddleware;

use Fig\Http\Message\StatusCodeInterface;
use Interop\Http\Server\RequestHandlerInterface;
use Psr\Http\Server\RequestHandlerInterface;
use PHPUnit\Framework\TestCase;
use Prooph\Common\Messaging\Message;
use Prooph\Common\Messaging\MessageFactory;
Expand Down
2 changes: 1 addition & 1 deletion tests/EventMiddlewareTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
namespace ProophTest\HttpMiddleware;

use Fig\Http\Message\StatusCodeInterface;
use Interop\Http\Server\RequestHandlerInterface;
use Psr\Http\Server\RequestHandlerInterface;
use PHPUnit\Framework\TestCase;
use Prooph\Common\Messaging\Message;
use Prooph\Common\Messaging\MessageFactory;
Expand Down
2 changes: 1 addition & 1 deletion tests/MessageMiddlewareTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
namespace ProophTest\HttpMiddleware;

use Fig\Http\Message\StatusCodeInterface;
use Interop\Http\Server\RequestHandlerInterface;
use Psr\Http\Server\RequestHandlerInterface;
use PHPUnit\Framework\TestCase;
use Prooph\Common\Messaging\Message;
use Prooph\Common\Messaging\MessageFactory;
Expand Down
2 changes: 1 addition & 1 deletion tests/QueryMiddlewareTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

namespace ProophTest\HttpMiddleware;

use Interop\Http\Server\RequestHandlerInterface;
use Psr\Http\Server\RequestHandlerInterface;
use PHPUnit\Framework\TestCase;
use Prooph\Common\Messaging\Message;
use Prooph\Common\Messaging\MessageFactory;
Expand Down

0 comments on commit ae87f97

Please sign in to comment.