File tree Expand file tree Collapse file tree 4 files changed +19
-76
lines changed
Expand file tree Collapse file tree 4 files changed +19
-76
lines changed Original file line number Diff line number Diff line change 66 " authorization" ,
77 " middleware" ,
88 " psr-7" ,
9+ " psr-15" ,
910 " zf" ,
1011 " zendframework" ,
1112 " zend-expressive"
2021 },
2122 "require" : {
2223 "php" : " ^7.1" ,
23- "http-interop/http-server-middleware" : " ^1.0.1" ,
2424 "psr/container" : " ^1.0" ,
2525 "psr/http-message" : " ^1.0.1" ,
26- "zendframework/zend-expressive-authentication" : " ^1.0.0-dev"
26+ "psr/http-server-middleware" : " ^1.0" ,
27+ "zendframework/zend-expressive-authentication" : " ^1.0.0alpha1 || ^1.0"
2728 },
2829 "require-dev" : {
2930 "phpunit/phpunit" : " ^6.5.3" ,
Original file line number Diff line number Diff line change 11<?php
22/**
33 * @see https://github.com/zendframework/zend-expressive-authorization for the canonical source repository
4- * @copyright Copyright (c) 2017 Zend Technologies USA Inc. (https://www.zend.com)
4+ * @copyright Copyright (c) 2017-2018 Zend Technologies USA Inc. (https://www.zend.com)
55 * @license https://github.com/zendframework/zend-expressive-authorization/blob/master/LICENSE.md New BSD License
66 */
77
88declare (strict_types=1 );
99
1010namespace Zend \Expressive \Authorization ;
1111
12- use Interop \Http \Server \MiddlewareInterface ;
13- use Interop \Http \Server \RequestHandlerInterface ;
1412use Psr \Http \Message \ResponseInterface ;
1513use Psr \Http \Message \ServerRequestInterface ;
14+ use Psr \Http \Server \MiddlewareInterface ;
15+ use Psr \Http \Server \RequestHandlerInterface ;
1616use Zend \Expressive \Authentication \UserInterface ;
1717
1818class AuthorizationMiddleware implements MiddlewareInterface
Original file line number Diff line number Diff line change 11<?php
22/**
33 * @see https://github.com/zendframework/zend-expressive-authorization for the canonical source repository
4- * @copyright Copyright (c) 2017 Zend Technologies USA Inc. (https://www.zend.com)
4+ * @copyright Copyright (c) 2017-2018 Zend Technologies USA Inc. (https://www.zend.com)
55 * @license https://github.com/zendframework/zend-expressive-authorization/blob/master/LICENSE.md New BSD License
66 */
77
88declare (strict_types=1 );
99
1010namespace ZendTest \Expressive \Authorization ;
1111
12- use Interop \Http \Server \RequestHandlerInterface ;
1312use PHPUnit \Framework \TestCase ;
1413use Prophecy \Argument ;
1514use Psr \Http \Message \ResponseInterface ;
1615use Psr \Http \Message \ServerRequestInterface ;
16+ use Psr \Http \Server \RequestHandlerInterface ;
1717use Zend \Expressive \Authentication \UserInterface ;
1818use Zend \Expressive \Authentication \UserRepository \UserTrait ;
1919use Zend \Expressive \Authorization \AuthorizationInterface ;
You can’t perform that action at this time.
0 commit comments