Skip to content

Commit 9d4dcb4

Browse files
committed
Merge branch 'hotfix/17-remove-router-requirement'
Close #17
2 parents 8baf929 + afe1782 commit 9d4dcb4

File tree

4 files changed

+43
-149
lines changed

4 files changed

+43
-149
lines changed

LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2017, Zend Technologies USA, Inc.
1+
Copyright (c) 2017-2018, Zend Technologies USA, Inc.
22
All rights reserved.
33

44
Redistribution and use in source and binary forms, with or without modification,

composer.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@
2424
"psr/container": "^1.0",
2525
"psr/http-message": "^1.0.1",
2626
"webimpress/http-middleware-compatibility": "^0.1.1",
27-
"zendframework/zend-expressive-authentication": "^0.2 || ^1.0",
28-
"zendframework/zend-expressive-router": "^2.2"
27+
"zendframework/zend-expressive-authentication": "^0.2 || ^1.0"
2928
},
3029
"require-dev": {
3130
"phpunit/phpunit": "^6.4.3",

composer.lock

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

src/AuthorizationMiddlewareFactory.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
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. (http://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
namespace Zend\Expressive\Authorization;
99

1010
use Psr\Container\ContainerInterface;
11-
use Psr\Http\Message\ResponseInterface;
12-
use Zend\Diactoros\Response;
1311
use Zend\Expressive\Authentication\ResponsePrototypeTrait;
1412

1513
class AuthorizationMiddlewareFactory

0 commit comments

Comments
 (0)