diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3584e6c..1b1e2d8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -31,4 +31,4 @@ jobs: os: >- ['ubuntu-latest', 'windows-latest'] php: >- - ['8.1', '8.2', '8.3', '8.4'] + ['8.1', '8.2', '8.3', '8.4', '8.5'] diff --git a/.github/workflows/composer-require-checker.yml b/.github/workflows/composer-require-checker.yml index a93390b..d2ef508 100644 --- a/.github/workflows/composer-require-checker.yml +++ b/.github/workflows/composer-require-checker.yml @@ -31,4 +31,4 @@ jobs: os: >- ['ubuntu-latest'] php: >- - ['8.1', '8.2', '8.3', '8.4'] + ['8.1', '8.2', '8.3', '8.4', '8.5'] diff --git a/CHANGELOG.md b/CHANGELOG.md index f55575d..fdaf44f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ ## 4.3.1 under development -- no changes in this release. +- Enh #159: Add PHP 8.5 support (@vjik) ## 4.3.0 September 06, 2025 diff --git a/README.md b/README.md index 3e45adc..28c7a1d 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ The package provides advanced error handling. The features are: ## Requirements -- PHP 8.1 or higher. +- PHP 8.1 - 8.5. - `DOM` PHP extension. - `mbstring` PHP extension. diff --git a/composer.json b/composer.json index 3c14886..8ddd554 100644 --- a/composer.json +++ b/composer.json @@ -31,7 +31,7 @@ } ], "require": { - "php": "~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0", + "php": "8.1 - 8.5", "ext-dom": "*", "ext-mbstring": "*", "alexkart/curl-builder": "^1.0",