From dfee744a169f42ed9ea4032020dbd55c04f1f758 Mon Sep 17 00:00:00 2001 From: Wilmer Arambula Date: Fri, 20 Feb 2026 21:04:53 -0300 Subject: [PATCH 1/2] fix(dependencies): Update PHP requirement to `8.2` in `composer.json` and adjust PHP versions in `build.yml`. --- .github/workflows/build.yml | 1 + CHANGELOG.md | 1 + README.md | 4 ++-- composer.json | 2 +- docs/installation.md | 4 ++-- 5 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0f270c8..d24e90b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -25,3 +25,4 @@ jobs: codeception-command: vendor/bin/codecept run --env php-builtin --coverage-xml coverage-file: runtime/output/coverage.xml extensions: gd, intl, pcov + php-version: '["8.2","8.3","8.4","8.5"]' diff --git a/CHANGELOG.md b/CHANGELOG.md index e0056c4..ef9e0d2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ - Enh #229: Add `php-forge/coding-standard` to development dependencies for code quality checks (@terabytesoftw) - Bug #230: Add section for automated refactoring using `Rector` in testing documentation (@terabytesoftw) - Enh #236: Add `.codespellrc` configuration to skip specific files and directories for spell checking (@terabytesoftw) +- Bug #237: Update PHP requirement to `8.2` in `composer.json` and adjust PHP versions in `build.yml` (@terabytesoftw) ## 0.1.2 October 8, 2025 diff --git a/README.md b/README.md index 571cc5d..90d5bb4 100644 --- a/README.md +++ b/README.md @@ -155,8 +155,8 @@ final class SiteController extends Controller ## Package information -[![PHP](https://img.shields.io/badge/%3E%3D8.1-777BB4.svg?style=for-the-badge&logo=php&logoColor=white)](https://www.php.net/releases/8.1/en.php) -[![Yii 2.0.x](https://img.shields.io/badge/2.0.53-0073AA.svg?style=for-the-badge&logo=yii&logoColor=white)](https://github.com/yiisoft/yii2/tree/2.0.53) +[![PHP](https://img.shields.io/badge/%3E%3D8.2-777BB4.svg?style=for-the-badge&logo=php&logoColor=white)](https://www.php.net/releases/8.2/en.php) +[![Yii 2.0.x](https://img.shields.io/badge/2.0.54-0073AA.svg?style=for-the-badge&logo=yii&logoColor=white)](https://github.com/yiisoft/yii2/tree/2.0.54) [![Yii 22.0.x](https://img.shields.io/badge/22.0.x-0073AA.svg?style=for-the-badge&logo=yii&logoColor=white)](https://github.com/yiisoft/yii2/tree/22.0) [![Latest Stable Version](https://img.shields.io/packagist/v/yii2-extensions/app-basic.svg?style=for-the-badge&logo=packagist&logoColor=white&label=Stable)](https://packagist.org/packages/yii2-extensions/app-basic) [![Total Downloads](https://img.shields.io/packagist/dt/yii2-extensions/app-basic.svg?style=for-the-badge&logo=composer&logoColor=white&label=Downloads)](https://packagist.org/packages/yii2-extensions/app-basic) diff --git a/composer.json b/composer.json index 9df2c16..46b0bde 100644 --- a/composer.json +++ b/composer.json @@ -11,7 +11,7 @@ "minimum-stability": "dev", "license": "BSD-3-Clause", "require": { - "php": ">=8.1", + "php": ">=8.2", "php-forge/foxy": "^0.2", "ui-awesome/html-svg": "^0.3", "vlucas/phpdotenv": "^5.6", diff --git a/docs/installation.md b/docs/installation.md index 0b061d1..3e41420 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -2,10 +2,10 @@ ## System requirements -- [`PHP`](https://www.php.net/downloads) 8.1 or higher. +- [`PHP`](https://www.php.net/downloads) 8.2 or higher. - [`Composer`](https://getcomposer.org/download/) for dependency management. - [`npm`](https://nodejs.org/en/download/) for frontend dependency management. -- [`Yii2`](https://github.com/yiisoft/yii2) 2.0.53+ or 22.x. +- [`Yii2`](https://github.com/yiisoft/yii2) 2.0.54+ or 22.x. ### Optional requirements From 81624d92f7636e1024499405592f174d1159c4b5 Mon Sep 17 00:00:00 2001 From: Wilmer Arambula Date: Fri, 20 Feb 2026 21:16:33 -0300 Subject: [PATCH 2/2] Apply fixed Coderabbitai review. --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ef9e0d2..9bd778c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,7 +14,7 @@ - Enh #229: Add `php-forge/coding-standard` to development dependencies for code quality checks (@terabytesoftw) - Bug #230: Add section for automated refactoring using `Rector` in testing documentation (@terabytesoftw) - Enh #236: Add `.codespellrc` configuration to skip specific files and directories for spell checking (@terabytesoftw) -- Bug #237: Update PHP requirement to `8.2` in `composer.json` and adjust PHP versions in `build.yml` (@terabytesoftw) +- Enh #237: Update PHP requirement to `8.2` in `composer.json` and adjust PHP versions in `build.yml` (@terabytesoftw) ## 0.1.2 October 8, 2025