diff --git a/composer.json b/composer.json index cc28df5..dd64b0d 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "j4k/oauth2-vkontakte", - "description": "Vkontakte provider for league/oauth2-client", + "description": "VK provider for league/oauth2-client", "keywords": [ "league", "package" @@ -8,17 +8,17 @@ "license": "MIT", "authors": [ { - "name": "Jack Wall", - "email": "jw@jack.gd" + "name": "September First", + "email": "info@1sept.ru" } ], "require": { - "php" : ">=5.6", + "php" : ">=8.1", "league/oauth2-client": "^2.0" }, "require-dev": { - "phpunit/phpunit" : "~4.6", - "mockery/mockery": "~0.9" + "phpunit/phpunit" : "^11.0", + "mockery/mockery": "~1.6" }, "autoload": { "psr-4": { diff --git a/src/Vkontakte.php b/src/Vkontakte.php index ec9565d..c3d1973 100644 --- a/src/Vkontakte.php +++ b/src/Vkontakte.php @@ -11,7 +11,7 @@ class Vkontakte extends AbstractProvider { protected $baseOAuthUri = 'https://oauth.vk.com'; protected $baseUri = 'https://api.vk.com/method'; - protected $version = '5.52'; + protected $version = '5.236'; protected $language = null; /** @@ -20,8 +20,8 @@ class Vkontakte extends AbstractProvider */ public $scopes = [ 'email', - 'friends', - 'offline', + // 'friends', + // 'offline', //'photos', //'wall', //'ads',