From 7420b6cbc647f193233ab5e628580d5602bf4978 Mon Sep 17 00:00:00 2001 From: Takamichi Urata Date: Wed, 28 Sep 2022 23:30:15 +0900 Subject: [PATCH 1/3] Allow lcobucci/jwt ^4.2 --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 235e2af..f784d50 100644 --- a/composer.json +++ b/composer.json @@ -10,7 +10,7 @@ ], "require": { "league/oauth2-server": "^5.1|^6.0|^7.0|^8.0", - "lcobucci/jwt": "4.1.5" + "lcobucci/jwt": "4.1.5|^4.2" }, "require-dev": { "phpunit/phpunit": "^5.0|^9.5", From 941b54b33cfa4e8b57dfa17e7a68c923ef29d7d6 Mon Sep 17 00:00:00 2001 From: Takamichi Urata Date: Wed, 28 Sep 2022 23:38:30 +0900 Subject: [PATCH 2/3] Update private key length to 2048 bits for test. ``` openssl genrsa -out private.key 2048 openssl rsa -in private.key -pubout -out public.key ``` --- tests/ResponseTypes/IdTokenResponseTest.php | 38 ++++++++++------ tests/Stubs/private.key | 38 ++++++++++------ tests/Stubs/private.key.crlf | 50 ++++++++++----------- tests/Stubs/public.key | 11 +++-- 4 files changed, 82 insertions(+), 55 deletions(-) diff --git a/tests/ResponseTypes/IdTokenResponseTest.php b/tests/ResponseTypes/IdTokenResponseTest.php index 8ec4164..ee29cef 100644 --- a/tests/ResponseTypes/IdTokenResponseTest.php +++ b/tests/ResponseTypes/IdTokenResponseTest.php @@ -134,19 +134,31 @@ public static function provideCryptKeys() array(new CryptKey( << Date: Thu, 29 Sep 2022 00:02:40 +0900 Subject: [PATCH 3/3] Fix scrutinizer PHP version --- .scrutinizer.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.scrutinizer.yml b/.scrutinizer.yml index c5beb3f..000f75f 100644 --- a/.scrutinizer.yml +++ b/.scrutinizer.yml @@ -1,3 +1,7 @@ +build: + environment: + php: 7.4.30 + filter: excluded_paths: - tests/*