From c97cedf6cadb2143f0d8be065f068ba80b7c3771 Mon Sep 17 00:00:00 2001 From: Rotzbua Date: Tue, 4 Feb 2025 22:35:45 +0100 Subject: [PATCH 1/2] feat(ci): add php8.4 --- .github/workflows/tests.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index dc67285..030036d 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -17,7 +17,7 @@ jobs: strategy: fail-fast: false matrix: - php: [ '8.1', '8.2', '8.3' ] + php: [ '8.1', '8.2', '8.3', '8.4' ] ext_base: [ 'none, dom, tokenizer, xml, xmlwriter,' ] ext_lib: [ 'curl, mbstring, openssl,' ] ext_optional: [ '', 'bcmath', 'gmp' ] @@ -68,6 +68,7 @@ jobs: run: composer test:typing - name: Run php-cs-fixer + if: ${{ matrix.php != '8.4' }} run: | composer test:syntax composer test:syntax_tests From e7bc05a54b9076097f20fc85508dc2ca2778a86d Mon Sep 17 00:00:00 2001 From: Rotzbua Date: Tue, 4 Feb 2025 22:39:05 +0100 Subject: [PATCH 2/2] chore(dep)!: require latest guzzle [Breaking Change] Problem: php8.4 support starts with 7.8.2 but latest 7.9.x drops eol peer dependency guzzlehttp/psr7@v1 To avoid a peer dependency confusion enforce the latest release. --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 869b00c..0f012f4 100644 --- a/composer.json +++ b/composer.json @@ -33,7 +33,7 @@ "ext-json": "*", "ext-mbstring": "*", "ext-openssl": "*", - "guzzlehttp/guzzle": "^7.4.5", + "guzzlehttp/guzzle": "^7.9.2", "web-token/jwt-library": "^3.3.0|^4.0.0", "spomky-labs/base64url": "^2.0.4" },