Skip to content

Commit 23f1818

Browse files
committed
Merge branch '2.next'
2 parents fa9626c + a2763dd commit 23f1818

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"type": "cakephp-plugin",
1111
"require": {
1212
"php": ">=7.2",
13-
"cakephp/core": "^4.0",
13+
"cakephp/http": "^4.0",
1414
"psr/http-client": "^1.0",
1515
"psr/http-message": "^1.0",
1616
"psr/http-server-handler": "^1.0",

src/Exception/AuthorizationRequiredException.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,10 @@
1616
*/
1717
namespace Authorization\Exception;
1818

19-
use Authorization\Exception\Exception as BaseException;
20-
2119
/**
2220
* Exception raised when authorization is required.
2321
*/
24-
class AuthorizationRequiredException extends BaseException
22+
class AuthorizationRequiredException extends Exception
2523
{
2624
/**
2725
* @inheritDoc

src/Exception/Exception.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
*/
1717
namespace Authorization\Exception;
1818

19-
use Cake\Core\Exception\Exception as CakeException;
19+
use Cake\Http\Exception\HttpException;
2020

21-
class Exception extends CakeException
21+
class Exception extends HttpException
2222
{
2323
}

0 commit comments

Comments
 (0)