From 653a4f500d0d762e0cd1a83bb276dacaabcd495b Mon Sep 17 00:00:00 2001 From: Mohammed Elhaouari Date: Sun, 12 Jul 2026 18:05:57 +0100 Subject: [PATCH 1/2] add PHP 8.5 support --- .github/workflows/php.yml | 2 +- README.md | 4 ++-- composer.json | 4 +++- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 2f587b4..0335c73 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -15,7 +15,7 @@ jobs: strategy: fail-fast: true matrix: - php: [ '8.3', '8.4' ] + php: [ '8.3', '8.4', '8.5' ] name: PHP ${{ matrix.php }} - Tests diff --git a/README.md b/README.md index 362ebec..8c31550 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Wati HTTP Client [![CI](https://github.com/phpjuice/wati-http-client/actions/workflows/php.yml/badge.svg)](https://github.com/phpjuice/wati-http-client/actions/workflows/php.yml) -[![PHP Version](https://img.shields.io/badge/PHP-8.3%20%7C%208.4-777BB4?logo=php&logoColor=white)](https://php.net) +[![PHP Version](https://img.shields.io/badge/PHP-8.3%20%7C%208.4%20%7C%208.5-777BB4?logo=php&logoColor=white)](https://php.net) [![Latest Stable Version](http://poser.pugx.org/phpjuice/wati-http-client/v)](https://packagist.org/packages/phpjuice/wati-http-client) [![Total Downloads](http://poser.pugx.org/phpjuice/wati-http-client/downloads)](https://packagist.org/packages/phpjuice/wati-http-client) [![License](http://poser.pugx.org/phpjuice/wati-http-client/license)](https://packagist.org/packages/phpjuice/wati-http-client) @@ -15,7 +15,7 @@ For a higher-level, feature-rich integration, consider using [wati-sdk](https:// ## Installation -This package requires PHP 8.3 or higher. +This package requires PHP 8.3 or higher (8.3, 8.4, and 8.5 are supported). ```bash composer require "phpjuice/wati-http-client" diff --git a/composer.json b/composer.json index ba91270..421e363 100644 --- a/composer.json +++ b/composer.json @@ -19,7 +19,7 @@ } ], "require": { - "php": "^8.3 || ^8.4", + "php": "^8.3 || ^8.4 || ^8.5", "ext-json": "*", "guzzlehttp/psr7": "^2.0", "guzzlehttp/guzzle": "^7.0" @@ -69,6 +69,8 @@ "sort-packages": true, "allow-plugins": { "pestphp/pest-plugin": true + }, + "platform": { } } } From a298a688ff07897524f40ee6125dc45f3f85725f Mon Sep 17 00:00:00 2001 From: Mohammed Elhaouari Date: Sun, 12 Jul 2026 18:07:12 +0100 Subject: [PATCH 2/2] Fix --- composer.json | 2 -- 1 file changed, 2 deletions(-) diff --git a/composer.json b/composer.json index 421e363..c0ac5f7 100644 --- a/composer.json +++ b/composer.json @@ -69,8 +69,6 @@ "sort-packages": true, "allow-plugins": { "pestphp/pest-plugin": true - }, - "platform": { } } }