From 6f190fe9e1b463f948f1e90f3045236c647d183a Mon Sep 17 00:00:00 2001 From: Sergei Predvoditelev Date: Thu, 11 Dec 2025 09:06:30 +0300 Subject: [PATCH] PHP 8.5 support --- .github/workflows/bc.yml | 2 +- .github/workflows/build.yml | 2 +- .github/workflows/composer-require-checker.yml | 2 +- .github/workflows/mutation.yml | 2 +- CHANGELOG.md | 2 +- README.md | 2 +- composer.json | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/bc.yml b/.github/workflows/bc.yml index 0ea4a5c1..14af9755 100644 --- a/.github/workflows/bc.yml +++ b/.github/workflows/bc.yml @@ -30,4 +30,4 @@ jobs: os: >- ['ubuntu-latest'] php: >- - ['8.4'] + ['8.5'] diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3584e6c3..1b1e2d89 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 a93390b1..d2ef508b 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/.github/workflows/mutation.yml b/.github/workflows/mutation.yml index a6873e2e..d746b429 100644 --- a/.github/workflows/mutation.yml +++ b/.github/workflows/mutation.yml @@ -27,6 +27,6 @@ jobs: os: >- ['ubuntu-latest'] php: >- - ['8.3'] + ['8.5'] secrets: STRYKER_DASHBOARD_API_KEY: ${{ secrets.STRYKER_DASHBOARD_API_KEY }} diff --git a/CHANGELOG.md b/CHANGELOG.md index 5876f3e1..ec1d748f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,7 @@ ## 2.1.0 April 04, 2025 - New #275: Add optional `$clock` parameter to `Manager` constructor to get current time (@vjik) -- Chg #276: Change PHP constraint in `composer.json` to `8.1 - 8.4` (@vjik) +- Chg #276, #282: Change PHP constraint in `composer.json` to `8.1 - 8.5` (@vjik) - Bug #264: Fix bug when default roles were not checked in `Manager::userHasPermission()` (@KovYu, @arogachev) ## 2.0.0 March 07, 2024 diff --git a/README.md b/README.md index b6259ad4..6f295104 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ library. It is used in [Yii Framework](https://yiiframework.com) but is usable s ## Requirements -- PHP 8.1 or higher. +- PHP 8.1 - 8.5. ## Installation diff --git a/composer.json b/composer.json index 6fd3d9f3..6c8f7e3b 100644 --- a/composer.json +++ b/composer.json @@ -27,7 +27,7 @@ } ], "require": { - "php": "8.1 - 8.4", + "php": "8.1 - 8.5", "yiisoft/access": "2.0", "yiisoft/friendly-exception": "^1.1" },