diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index ddeee55..527de82 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -11,12 +11,12 @@ jobs: runs-on: ubuntu-18.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Set up PHP uses: shivammathur/setup-php@v2 with: - php-version: '8.0' + php-version: '8.1' tools: composer:v2 - name: Validate composer.json and composer.lock diff --git a/README.md b/README.md index f157487..f1c96dd 100644 --- a/README.md +++ b/README.md @@ -12,12 +12,13 @@ Recommended and easiest way to installing library is through [Composer](https:// * OpenSSL Extension ## PHP support -|PHP version|Library version| -|---|---| -|`5.x`|`NOT SUPPORTED`| -| `> 7.0 <= 7.3`| `1.4.x` | -| `>= 7.4 < 8.0`| `1.5.x` | -| `>= 8.0 & ^7.4`| `2.0.x` | +| PHP version | Library version | +|-----------------|-----------------| +| `5.x` | `NOT SUPPORTED` | +| `> 7.0 <= 7.3` | `1.4.x` | +| `>= 7.4 < 8.0` | `1.5.x` | +| `>= 8.0 & ^7.4` | `2.0.x` | +| `>= 8.1` | `3.0.x` | Versioning follows [semver](https://semver.org/) standard. diff --git a/composer.json b/composer.json index 1e4f907..bce16c4 100644 --- a/composer.json +++ b/composer.json @@ -29,11 +29,11 @@ }, "minimum-stability": "stable", "require": { - "php": "^7.4 || ^8.0", + "php": "^8.1", "ext-mbstring": "*", "ext-openssl": "*", "phpseclib/phpseclib": "^3.0", - "lcobucci/jwt": "^4.0", + "lcobucci/jwt": "^5.0", "guzzlehttp/guzzle": "^6.0|^7.0" }, "require-dev": { diff --git a/tests/Unit/Auth/Factory/AppleJwtStructFactoryTest.php b/tests/Unit/Auth/Factory/AppleJwtStructFactoryTest.php index b6eedca..ae8d3b8 100644 --- a/tests/Unit/Auth/Factory/AppleJwtStructFactoryTest.php +++ b/tests/Unit/Auth/Factory/AppleJwtStructFactoryTest.php @@ -61,7 +61,7 @@ public function testIfCreateJwtPayloadFromTokenReturnsExpectedJsonPayload(): voi 'nonce_supported' => true ], '' ), - Token\Signature::fromEmptyData() + new Token\Signature('', '') ) ) );