Skip to content

Commit 0c132be

Browse files
committedOct 18, 2019
Downgraded web-token library to PHP ^7.1
1 parent 573221e commit 0c132be

File tree

3 files changed

+6
-11
lines changed

3 files changed

+6
-11
lines changed
 

‎.travis.yml

-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ language: php
22

33
matrix:
44
include:
5-
- php: 5.6
6-
- php: 7.0
75
- php: 7.1
86
- php: 7.2
97
- php: 7.3

‎composer.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@
2020
],
2121
"require": {
2222
"league/oauth2-client": "^2.0",
23-
"web-token/jwt-core": "^2.0",
24-
"web-token/jwt-signature-algorithm-ecdsa": "^2.0",
25-
"web-token/jwt-key-mgmt": "^2.0",
26-
"ext-json": "*",
27-
"web-token/jwt-signature-algorithm-rsa": "^2.0"
23+
"web-token/jwt-core": "^1",
24+
"web-token/jwt-signature-algorithm-ecdsa": "^1",
25+
"web-token/jwt-key-mgmt": "^1",
26+
"web-token/jwt-signature-algorithm-rsa": "^1",
27+
"ext-json": "*"
2828
},
2929
"require-dev": {
3030
"phpunit/phpunit": "~4.0",
@@ -44,7 +44,7 @@
4444
},
4545
"extra": {
4646
"branch-alias": {
47-
"dev-master": "1.0.x-dev"
47+
"dev-master": "0.1.x-dev"
4848
}
4949
}
5050
}

‎src/Token/AppleAccessToken.php

-3
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,7 @@
55
use InvalidArgumentException;
66
use Jose\Component\Core\AlgorithmManager;
77
use Jose\Component\Core\JWKSet;
8-
use Jose\Component\Core\JWT;
9-
use Jose\Component\Signature\Algorithm\ES256;
108
use Jose\Component\Signature\Algorithm\RS256;
11-
use Jose\Component\Signature\JWS;
129
use Jose\Component\Signature\JWSVerifier;
1310
use Jose\Component\Signature\Serializer\CompactSerializer;
1411

0 commit comments

Comments
 (0)
Please sign in to comment.