From 67d5ada97b636196267adefc94af2360091593da Mon Sep 17 00:00:00 2001 From: ThierryGen Date: Fri, 8 Nov 2024 14:59:39 +0000 Subject: [PATCH 1/2] symfony 5.3 support --- .gitignore | 2 ++ composer.json | 8 ++++++-- lib/Model/IOAuth2Client.php | 4 +++- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 76367ee..ebad101 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,5 @@ vendor/ composer.lock phpunit.xml .phpunit.result.cache + +./.idea diff --git a/composer.json b/composer.json index 16e9ecc..3e2ea87 100644 --- a/composer.json +++ b/composer.json @@ -1,11 +1,15 @@ { - "name": "friendsofsymfony/oauth2-php", + "name": "socloz/oauth2-php", "type": "library", "description": "OAuth2 library", "license": "MIT", "keywords": ["oauth", "oauth2"], - "homepage": "https://github.com/FriendsOfSymfony/oauth2-php", + "homepage": "https://github.com/socloz/oauth2-php", "authors": [ + { + "name": "Socloz", + "email": "tech@socloz.com" + }, { "name": "Arnaud Le Blanc", "email": "arnaud.lb@gmail.com" diff --git a/lib/Model/IOAuth2Client.php b/lib/Model/IOAuth2Client.php index b25b921..2e961b5 100644 --- a/lib/Model/IOAuth2Client.php +++ b/lib/Model/IOAuth2Client.php @@ -2,7 +2,9 @@ namespace OAuth2\Model; -interface IOAuth2Client +use Symfony\Component\Security\Core\User\UserInterface; + +interface IOAuth2Client extends UserInterface { /** * @return string From 002d48b36d3f0e6308d8e101005aa551246ac2ef Mon Sep 17 00:00:00 2001 From: ThierryGen Date: Fri, 8 Nov 2024 15:00:43 +0000 Subject: [PATCH 2/2] fix gitignore --- .gitignore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index ebad101..8993cab 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,4 @@ composer.lock phpunit.xml .phpunit.result.cache -./.idea +.idea/