fix:更新已知bug,优化代码

This commit is contained in:
Ying
2022-11-28 19:11:12 +08:00
parent f6aee95cfc
commit 9445b206a2
1378 changed files with 53759 additions and 20789 deletions

View File

@@ -1,28 +1,40 @@
{
"name": "overtrue/socialite",
"description": "A collection of OAuth 2 packages that extracts from laravel/socialite.",
"description": "A collection of OAuth 2 packages.",
"keywords": [
"OAuth",
"oauth",
"social",
"login",
"Weibo",
"WeChat",
"QQ"
"weibo",
"wechat",
"qq",
"feishu",
"qcloud"
],
"autoload": {
"files": [
"src/Contracts/FactoryInterface.php",
"src/Contracts/UserInterface.php",
"src/Contracts/ProviderInterface.php"
],
"psr-4": {
"Overtrue\\Socialite\\": "src/"
}
},
"require": {
"php": ">=5.6",
"guzzlehttp/guzzle": "^5.0|^6.0|^7.0",
"symfony/http-foundation": "^2.7|^3.0|^4.0|^5.0",
"ext-json": "*"
"php": ">=8.0.2",
"ext-json": "*",
"ext-openssl": "*",
"guzzlehttp/guzzle": "^7.0",
"symfony/http-foundation": "^6.0",
"symfony/psr-http-message-bridge": "^2.1"
},
"require-dev": {
"mockery/mockery": "~1.2",
"phpunit/phpunit": "^6.0|^7.0|^8.0|^9.0"
"mockery/mockery": "^1.3",
"phpunit/phpunit": "^9.0",
"jetbrains/phpstorm-attributes": "^1.0",
"phpstan/phpstan": "^1.7",
"laravel/pint": "^1.2"
},
"license": "MIT",
"authors": [
@@ -30,5 +42,11 @@
"name": "overtrue",
"email": "anzhengchao@gmail.com"
}
]
],
"scripts": {
"check-style": "@php vendor/bin/pint --test",
"fix-style": "@php vendor/bin/pint",
"test": "@php vendor/bin/phpunit --colors=always",
"phpstan": "@php vendor/bin/phpstan analyse src"
}
}