diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d70dead..9b5c299 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -34,4 +34,4 @@ jobs: os: >- ['ubuntu-latest', 'windows-latest'] php: >- - ['8.1', '8.2', '8.3', '8.4', '8.5'] + ['8.1', '8.2', '8.3', '8.4', '8.5', '8.6'] diff --git a/.github/workflows/composer-dependency-analyser.yml b/.github/workflows/composer-dependency-analyser.yml index 3fed6a3..98822bf 100644 --- a/.github/workflows/composer-dependency-analyser.yml +++ b/.github/workflows/composer-dependency-analyser.yml @@ -24,4 +24,4 @@ jobs: uses: yiisoft/actions/.github/workflows/composer-dependency-analyser.yml@master with: php: >- - ['8.1', '8.2', '8.3', '8.4', '8.5'] + ['8.1', '8.2', '8.3', '8.4', '8.5', '8.6'] diff --git a/.github/workflows/mutation.yml b/.github/workflows/mutation.yml index ef8f697..b7d7bfb 100644 --- a/.github/workflows/mutation.yml +++ b/.github/workflows/mutation.yml @@ -30,7 +30,7 @@ jobs: os: >- ['ubuntu-latest'] php: >- - ['8.5'] + ['8.6'] infection-args: "--ignore-msi-with-no-mutations" secrets: STRYKER_DASHBOARD_API_KEY: ${{ secrets.STRYKER_DASHBOARD_API_KEY }} diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index 883187f..ce7fff7 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -32,4 +32,4 @@ jobs: os: >- ['ubuntu-latest'] php: >- - ['8.1', '8.2', '8.3', '8.4', '8.5'] + ['8.1', '8.2', '8.3', '8.4', '8.5', '8.6'] diff --git a/CHANGELOG.md b/CHANGELOG.md index 980be35..5d743e5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ - New #278: Add dedicated classes for missing HTML tags (@Mister-42) - New #279: Add support for conditional CSS classes in `Html::addCssClass()` (@Mister-42) - Chg #289: Replace Psalm with PHPStan (@vjik) +- Enh #290: Add support for PHP 8.6 (@vjik) ## 4.2.0 June 05, 2026 diff --git a/README.md b/README.md index afceccc..6ca05e0 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ Note that for simple static-HTML cases, it is preferred to use HTML directly. ## Requirements -- PHP 8.1 - 8.5. +- PHP 8.1 - 8.6. ## Installation diff --git a/composer.json b/composer.json index b8694a5..0aecb59 100644 --- a/composer.json +++ b/composer.json @@ -26,7 +26,7 @@ } ], "require": { - "php": "8.1 - 8.5", + "php": "8.1 - 8.6", "yiisoft/arrays": "^2.0 || ^3.0", "yiisoft/json": "^1.0" },