diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f8af7b4..ebbdb9d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,7 +17,7 @@ jobs: strategy: fail-fast: false matrix: - php: ['8.2', '8.3', '8.4', '8.5'] + php: ['8.2', '8.3', '8.4', '8.5', '8.6'] steps: - name: Checkout @@ -52,9 +52,11 @@ jobs: run: composer update --prefer-dist --no-progress --no-interaction - name: Coding standards (PHP-CS-Fixer) + if: matrix.php != '8.6' run: vendor/bin/php-cs-fixer fix --dry-run --diff - name: Static analysis (PHPStan) + if: matrix.php != '8.6' run: composer stan - name: Unit tests (PHPUnit) diff --git a/CHANGELOG.md b/CHANGELOG.md index 79ba4ba..0c17926 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,12 @@ All notable changes to `initphp/console` are documented here. The format is base on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [Unreleased] + +### Changed + +- CI now also runs the test suite on PHP 8.6 (8.2, 8.3, 8.4, 8.5 and 8.6). + ## [3.0.0] - 2026-11-22 ### Changed (breaking) diff --git a/docs/FAQ.md b/docs/FAQ.md index dbdbb62..7d180d3 100644 --- a/docs/FAQ.md +++ b/docs/FAQ.md @@ -118,7 +118,7 @@ without it the renderer falls back to byte length. See ### Which PHP versions are supported? -PHP **8.2 and up**. CI runs the QA matrix on 8.2, 8.3, 8.4 and 8.5. +PHP **8.2 and up**. CI runs the QA matrix on 8.2, 8.3, 8.4, 8.5 and 8.6. ### Why does the code use PHPDoc types instead of native types in places? diff --git a/docs/Home.md b/docs/Home.md index ea9e4a3..7866df1 100644 --- a/docs/Home.md +++ b/docs/Home.md @@ -69,7 +69,7 @@ This library splits the tokens after the command name into three buckets: ## Package metadata - **License**: MIT -- **Minimum PHP**: 8.2 (CI matrix runs 8.2 – 8.5) +- **Minimum PHP**: 8.2 (CI matrix runs 8.2 – 8.6) - **Runtime dependencies**: none - **Optional extension**: `ext-mbstring` (improves table alignment for UTF-8 values) - **Packagist**: [`initphp/console`](https://packagist.org/packages/initphp/console) diff --git a/docs/Installation.md b/docs/Installation.md index 9e7d149..3c5ded4 100644 --- a/docs/Installation.md +++ b/docs/Installation.md @@ -4,7 +4,7 @@ | | | | --- | --- | -| PHP | `^8.2` (CI runs 8.2, 8.3, 8.4 and 8.5) | +| PHP | `^8.2` (CI runs 8.2, 8.3, 8.4, 8.5 and 8.6) | | Extensions | None required; `ext-mbstring` recommended | | Runtime dependencies | None | @@ -77,7 +77,7 @@ If the autoloader cannot locate the classes, double-check that you ran Every pull request runs the QA matrix (coding standards, static analysis, unit tests) against: -- PHP 8.2, 8.3, 8.4, 8.5 +- PHP 8.2, 8.3, 8.4, 8.5, 8.6 If you discover a regression on a supported version, please [file an issue](https://github.com/InitPHP/Console/issues/new) and include the