Skip to content

Commit d1393d6

Browse files
committed
Merge pull request #16 from xtreamwayz/feature/psr15
Updated to final PSR-15 Conflicts: composer.json composer.lock
2 parents 98afab5 + 0a2558f commit d1393d6

File tree

4 files changed

+19
-76
lines changed

4 files changed

+19
-76
lines changed

composer.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"authorization",
77
"middleware",
88
"psr-7",
9+
"psr-15",
910
"zf",
1011
"zendframework",
1112
"zend-expressive"
@@ -20,10 +21,10 @@
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",

composer.lock

Lines changed: 11 additions & 69 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/AuthorizationMiddleware.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
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

88
declare(strict_types=1);
99

1010
namespace Zend\Expressive\Authorization;
1111

12-
use Interop\Http\Server\MiddlewareInterface;
13-
use Interop\Http\Server\RequestHandlerInterface;
1412
use Psr\Http\Message\ResponseInterface;
1513
use Psr\Http\Message\ServerRequestInterface;
14+
use Psr\Http\Server\MiddlewareInterface;
15+
use Psr\Http\Server\RequestHandlerInterface;
1616
use Zend\Expressive\Authentication\UserInterface;
1717

1818
class AuthorizationMiddleware implements MiddlewareInterface

test/AuthorizationMiddlewareTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
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

88
declare(strict_types=1);
99

1010
namespace ZendTest\Expressive\Authorization;
1111

12-
use Interop\Http\Server\RequestHandlerInterface;
1312
use PHPUnit\Framework\TestCase;
1413
use Prophecy\Argument;
1514
use Psr\Http\Message\ResponseInterface;
1615
use Psr\Http\Message\ServerRequestInterface;
16+
use Psr\Http\Server\RequestHandlerInterface;
1717
use Zend\Expressive\Authentication\UserInterface;
1818
use Zend\Expressive\Authentication\UserRepository\UserTrait;
1919
use Zend\Expressive\Authorization\AuthorizationInterface;

0 commit comments

Comments
 (0)