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..9bd778c 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) +- 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 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