Skip to content

Commit 2ba5544

Browse files
authored
chore: drop support for PHP 7.3 (#495)
1 parent 9dc46a9 commit 2ba5544

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
strategy:
1212
matrix:
13-
php: [ "7.1", "7.2", "7.3", "7.4", "8.0", "8.1", "8.2" ]
13+
php: [ "7.4", "8.0", "8.1", "8.2" ]
1414
name: PHP ${{matrix.php }} Unit Test
1515
steps:
1616
- uses: actions/checkout@v2

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
],
2121
"license": "BSD-3-Clause",
2222
"require": {
23-
"php": "^7.1||^8.0"
23+
"php": "^7.4||^8.0"
2424
},
2525
"suggest": {
2626
"paragonie/sodium_compat": "Support EdDSA (Ed25519) signatures when libsodium is not present",
@@ -33,8 +33,8 @@
3333
},
3434
"require-dev": {
3535
"guzzlehttp/guzzle": "^6.5||^7.4",
36-
"phpspec/prophecy-phpunit": "^1.1",
37-
"phpunit/phpunit": "^7.5||^9.5",
36+
"phpspec/prophecy-phpunit": "^2.0",
37+
"phpunit/phpunit": "^9.5",
3838
"psr/cache": "^1.0||^2.0",
3939
"psr/http-client": "^1.0",
4040
"psr/http-factory": "^1.0"

tests/CachedKeySetTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
use OutOfBoundsException;
77
use PHPUnit\Framework\TestCase;
88
use Prophecy\Argument;
9+
use Prophecy\PhpUnit\ProphecyTrait;
910
use Psr\Cache\CacheItemInterface;
1011
use Psr\Cache\CacheItemPoolInterface;
1112
use Psr\Http\Client\ClientInterface;
@@ -14,6 +15,8 @@
1415

1516
class CachedKeySetTest extends TestCase
1617
{
18+
use ProphecyTrait;
19+
1720
private $testJwksUri = 'https://jwk.uri';
1821
private $testJwksUriKey = 'jwkshttpsjwk.uri';
1922
private $testJwks1 = '{"keys": [{"kid":"foo","kty":"RSA","alg":"foo","n":"","e":""}]}';

0 commit comments

Comments
 (0)