Skip to content

Commit

Permalink
Add support for psr/http-factory:1.0 (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nyholm authored Jul 31, 2018
1 parent 681df1f commit 54a982e
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@
"psr/http-factory-implementation": "^1.0"
},
"require": {
"http-interop/http-factory": "^0.4",
"psr/http-factory": "^1.0",
"slim/http": "^0.1.1"
},
"conflict": {
"slim/slim": "<4.0"
},
"require-dev": {
"http-interop/http-factory-tests": "^0.4",
"http-interop/http-factory-tests": "^0.5",
"phpunit/phpunit": "^6.5"
},
"autoload": {
Expand Down
2 changes: 1 addition & 1 deletion src/RequestFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Http\Factory\Slim;

use Interop\Http\Factory\RequestFactoryInterface;
use Psr\Http\Message\RequestFactoryInterface;
use Psr\Http\Message\RequestInterface;
use Psr\Http\Message\UriInterface;
use Slim\Http\Headers;
Expand Down
2 changes: 1 addition & 1 deletion src/ResponseFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Http\Factory\Slim;

use Interop\Http\Factory\ResponseFactoryInterface;
use Psr\Http\Message\ResponseFactoryInterface;
use Psr\Http\Message\ResponseInterface;
use Slim\Http\Response;

Expand Down
2 changes: 1 addition & 1 deletion src/ServerRequestFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Http\Factory\Slim;

use Interop\Http\Factory\ServerRequestFactoryInterface;
use Psr\Http\Message\ServerRequestFactoryInterface;
use Psr\Http\Message\ServerRequestInterface;
use Psr\Http\Message\UriInterface;
use Slim\Http\FactoryDefault;
Expand Down
2 changes: 1 addition & 1 deletion src/StreamFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Http\Factory\Slim;

use Interop\Http\Factory\StreamFactoryInterface;
use Psr\Http\Message\StreamFactoryInterface;
use Psr\Http\Message\StreamInterface;
use Slim\Http\Stream;

Expand Down
2 changes: 1 addition & 1 deletion src/UploadedFileFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Http\Factory\Slim;

use Interop\Http\Factory\UploadedFileFactoryInterface;
use Psr\Http\Message\UploadedFileFactoryInterface;
use Psr\Http\Message\StreamInterface;
use Psr\Http\Message\UploadedFileInterface;
use Slim\Http\UploadedFile;
Expand Down
2 changes: 1 addition & 1 deletion src/UriFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Http\Factory\Slim;

use Interop\Http\Factory\UriFactoryInterface;
use Psr\Http\Message\UriFactoryInterface;
use Psr\Http\Message\UriInterface;
use Slim\Http\Uri;

Expand Down

0 comments on commit 54a982e

Please sign in to comment.