File tree 7 files changed +8
-9
lines changed
7 files changed +8
-9
lines changed Original file line number Diff line number Diff line change 18
18
"psr/http-factory-implementation" : " ^1.0"
19
19
},
20
20
"require" : {
21
- "http-interop /http-factory" : " ^0.4 " ,
21
+ "psr /http-factory" : " ^1.0 " ,
22
22
"zendframework/zend-diactoros" : " ^1.3"
23
23
},
24
24
"require-dev" : {
25
- "http-interop/http-factory-tests" : " ^0.4 " ,
25
+ "http-interop/http-factory-tests" : " ^0.5 " ,
26
26
"phpunit/phpunit" : " ^6.5"
27
27
},
28
28
"autoload" : {
Original file line number Diff line number Diff line change 2
2
3
3
namespace Http \Factory \Diactoros ;
4
4
5
- use Interop \Http \Factory \RequestFactoryInterface ;
5
+ use Psr \Http \Message \RequestFactoryInterface ;
6
6
use Psr \Http \Message \RequestInterface ;
7
- use Psr \Http \Message \UriInterface ;
8
7
use Zend \Diactoros \Request ;
9
8
10
9
class RequestFactory implements RequestFactoryInterface
Original file line number Diff line number Diff line change 2
2
3
3
namespace Http \Factory \Diactoros ;
4
4
5
- use Interop \Http \Factory \ResponseFactoryInterface ;
5
+ use Psr \Http \Message \ResponseFactoryInterface ;
6
6
use Psr \Http \Message \ResponseInterface ;
7
7
use Zend \Diactoros \Response ;
8
8
Original file line number Diff line number Diff line change 3
3
namespace Http \Factory \Diactoros ;
4
4
5
5
use Http \Factory \Diactoros \UriFactory ;
6
- use Interop \Http \Factory \ServerRequestFactoryInterface ;
6
+ use Psr \Http \Message \ServerRequestFactoryInterface ;
7
7
use Psr \Http \Message \ServerRequestInterface ;
8
8
use Psr \Http \Message \UriInterface ;
9
9
use Zend \Diactoros \ServerRequest ;
Original file line number Diff line number Diff line change 2
2
3
3
namespace Http \Factory \Diactoros ;
4
4
5
- use Interop \Http \Factory \StreamFactoryInterface ;
5
+ use Psr \Http \Message \StreamFactoryInterface ;
6
6
use Psr \Http \Message \StreamInterface ;
7
7
use Zend \Diactoros \Stream ;
8
8
Original file line number Diff line number Diff line change 2
2
3
3
namespace Http \Factory \Diactoros ;
4
4
5
- use Interop \Http \Factory \UploadedFileFactoryInterface ;
5
+ use Psr \Http \Message \UploadedFileFactoryInterface ;
6
6
use Psr \Http \Message \StreamInterface ;
7
7
use Psr \Http \Message \UploadedFileInterface ;
8
8
use Zend \Diactoros \UploadedFile ;
Original file line number Diff line number Diff line change 2
2
3
3
namespace Http \Factory \Diactoros ;
4
4
5
- use Interop \Http \Factory \UriFactoryInterface ;
5
+ use Psr \Http \Message \UriFactoryInterface ;
6
6
use Psr \Http \Message \UriInterface ;
7
7
use Zend \Diactoros \Uri ;
8
8
You can’t perform that action at this time.
0 commit comments