diff --git a/.travis.yml b/.travis.yml index 0b04942..d086531 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,8 +2,6 @@ language: php matrix: include: - - php: 5.6 - - php: 7.0 - php: 7.1 - php: 7.2 - php: 7.3 diff --git a/composer.json b/composer.json index 18a308a..d02ba04 100644 --- a/composer.json +++ b/composer.json @@ -20,11 +20,11 @@ ], "require": { "league/oauth2-client": "^2.0", - "web-token/jwt-core": "^2.0", - "web-token/jwt-signature-algorithm-ecdsa": "^2.0", - "web-token/jwt-key-mgmt": "^2.0", - "ext-json": "*", - "web-token/jwt-signature-algorithm-rsa": "^2.0" + "web-token/jwt-core": "^1", + "web-token/jwt-signature-algorithm-ecdsa": "^1", + "web-token/jwt-key-mgmt": "^1", + "web-token/jwt-signature-algorithm-rsa": "^1", + "ext-json": "*" }, "require-dev": { "phpunit/phpunit": "~4.0", @@ -44,7 +44,7 @@ }, "extra": { "branch-alias": { - "dev-master": "1.0.x-dev" + "dev-master": "0.1.x-dev" } } } diff --git a/src/Token/AppleAccessToken.php b/src/Token/AppleAccessToken.php index bf1bacd..4017412 100644 --- a/src/Token/AppleAccessToken.php +++ b/src/Token/AppleAccessToken.php @@ -5,10 +5,7 @@ use InvalidArgumentException; use Jose\Component\Core\AlgorithmManager; use Jose\Component\Core\JWKSet; -use Jose\Component\Core\JWT; -use Jose\Component\Signature\Algorithm\ES256; use Jose\Component\Signature\Algorithm\RS256; -use Jose\Component\Signature\JWS; use Jose\Component\Signature\JWSVerifier; use Jose\Component\Signature\Serializer\CompactSerializer;