Skip to content

Commit

Permalink
Updated to FIG PSR-15 from HTTP Interop PSR-15
Browse files Browse the repository at this point in the history
  • Loading branch information
WyriHaximus committed Jan 23, 2018
1 parent 78aa807 commit 2cb8e2e
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
"license": "MIT",
"require": {
"php": "^7.0",
"http-interop/http-server-middleware": "^1.0",
"recoil/react": "^1.0",
"recoil/recoil": "^1.0",
"nikic/php-parser": "^3.1"
"nikic/php-parser": "^3.1",
"psr/http-server-middleware": "^1.0"
},
"require-dev": {
"phpunit/phpunit": "^6.0",
Expand Down
2 changes: 1 addition & 1 deletion src/GroupedPSR15Middleware.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

namespace FriendsOfReact\Http\Middleware\Psr15Adapter;

use Interop\Http\Server\MiddlewareInterface as PSR15MiddlewareInterface;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface;
use Psr\Http\Server\MiddlewareInterface as PSR15MiddlewareInterface;
use React\EventLoop\LoopInterface;
use React\Promise;
use Recoil\React\ReactKernel;
Expand Down
2 changes: 1 addition & 1 deletion src/PSR15Middleware.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

namespace FriendsOfReact\Http\Middleware\Psr15Adapter;

use Interop\Http\Server\MiddlewareInterface as PSR15MiddlewareInterface;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface;
use Psr\Http\Server\MiddlewareInterface as PSR15MiddlewareInterface;
use React\EventLoop\LoopInterface;
use React\Promise;
use Recoil\React\ReactKernel;
Expand Down
2 changes: 1 addition & 1 deletion src/YieldingMiddlewareFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

namespace FriendsOfReact\Http\Middleware\Psr15Adapter;

use Interop\Http\Server\MiddlewareInterface as PSR15MiddlewareInterface;
use PhpParser\Node\Expr\MethodCall;
use PhpParser\Node\Expr\Variable;
use PhpParser\Node\Expr\Yield_;
use PhpParser\Node\Stmt\Class_;
use PhpParser\Node\Stmt\ClassMethod;
use PhpParser\ParserFactory;
use PhpParser\PrettyPrinter\Standard;
use Psr\Http\Server\MiddlewareInterface as PSR15MiddlewareInterface;

final class YieldingMiddlewareFactory
{
Expand Down
4 changes: 2 additions & 2 deletions tests/PSR15TestMiddleware.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

namespace FriendsOfReact\Tests\Http\Middleware\Psr15Adapter;

use Interop\Http\Server\MiddlewareInterface as PSR15MiddlewareInterface;
use Interop\Http\Server\RequestHandlerInterface;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface;
use Psr\Http\Server\MiddlewareInterface as PSR15MiddlewareInterface;
use Psr\Http\Server\RequestHandlerInterface;

final class PSR15TestMiddleware implements PSR15MiddlewareInterface
{
Expand Down

0 comments on commit 2cb8e2e

Please sign in to comment.