Repository navigation
[v3] #87 - Add PHP 8.6 support - #89
Merged
Merged
Conversation
…P 8.6, require symfony/polyfill-php86 and symfony/dependency-injection 7.4.17 or 8.1.5 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Fixes #87: PHP 8.6 support for v3.0, same change as cleverage/process-bundle#511 for the core (cleverage/process-bundle#510).
test.yml): thelowestjob of the highest PHP version moves from 8.5 to 8.6, and the{ php-version: '8.6', dependencies: highest, symfony-require: 7.4.* }and8.*jobs are added. No pcov release builds on PHP 8.6 (1.0.12 fails, Fix build with PHP 8.6.0alpha2 krakjoe/pcov#134): on the 8.6 jobs it is built from the pinned commit3795c08in a dedicated step, to remove once a pcov release supports PHP 8.6 (coverage is required: a missing#[CoversClass]is only reported as risky when it is collected).quality.yml): PHPStan and Rector run on PHP 8.6; PHP-CS-Fixer stays on 8.5 (it refuses to run on PHP 8.6, CI: run on PHP 8.6 PHP-CS-Fixer/PHP-CS-Fixer#9954), and so doescomposer validate.composer.json:symfony/polyfill-php86: ^1.34, so that the PHP 8.6 functions can be used on PHP 8.3 to 8.5, andsymfony/dependency-injection: ^7.4.17|^8.1.5: with the lowest dependencies, 7.4.15 is installed, itsContainerBuildercallsspl_object_hash(), deprecated by PHP 8.6, which fails the new PHP 8.6lowestjob (failOnDeprecation); fixed in 7.4.17 and 8.1.5 (spl_object_id())..docker/php/Dockerfile: stays onphp:8.5-fpm-alpinelike the core, with a comment: pcov 1.0.12 does not build on PHP 8.6 andmake qualityruns PHP-CS-Fixer in the image (the php:8.6 images no longer ship mbstring: to install with oniguruma-dev when moving to 8.6).CONTRIBUTING.md(PHP version), CHANGELOG.Checked locally on PHP 8.6.0 (pcov built from the same commit, mbstring installed): highest and lowest dependencies, 83 tests OK, no risky test, no deprecation; PHPStan and Rector clean on PHP 8.6.
make qualityandmake tests(PHP 8.5) pass.Requirements
Breaking changes
None: PHP 8.3 stays the minimum version.
🤖 Generated with Claude Code