From 3462a6cc55634a473964112fa40721e37b537c79 Mon Sep 17 00:00:00 2001 From: pm Date: Fri, 30 Oct 2020 17:18:36 +0300 Subject: [PATCH] Zend\Diactoros is abandoned. Migrate to Laminas\Diactoros --- composer.json | 3 ++- src/Http/Controllers/IntrospectionController.php | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 1be925e..7ebe24b 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "ipunkt/laravel-oauth-introspection", "description": "OAuth 2.0 Token Introspection implementation for extending Laravel Passport (RFC 7662)", - "version": "2.0", + "version": "2.0.1", "keywords": [ "laravel", "passport", @@ -20,6 +20,7 @@ "php": ">=7.0", "guzzlehttp/guzzle": ">=7.0", "ipunkt/laravel-package-manager": "^2.0", + "laminas/laminas-diactoros": "^2.4", "laravel/passport": ">=8.0" }, "autoload": { diff --git a/src/Http/Controllers/IntrospectionController.php b/src/Http/Controllers/IntrospectionController.php index 925b703..d8f717a 100644 --- a/src/Http/Controllers/IntrospectionController.php +++ b/src/Http/Controllers/IntrospectionController.php @@ -15,7 +15,7 @@ use League\OAuth2\Server\ResourceServer; use Psr\Http\Message\ResponseInterface; use Psr\Http\Message\ServerRequestInterface; -use Zend\Diactoros\Response as Psr7Response; +use Laminas\Diactoros\Response as Psr7Response; class IntrospectionController {