Allow PHP 8.6 as max version and run CI on it - #6435
Merged
Merged
Conversation
ondrejmirtes
force-pushed
the
codex/allow-php-86-without-turbo
branch
from
September 14, 2026 07:26
d57bcc5 to
153669c
Compare
ondrejmirtes
force-pushed
the
codex/allow-php-86-without-turbo
branch
from
September 14, 2026 07:28
153669c to
65e6adb
Compare
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.
Allow
phpVersionvalues through80699and cap newer Composer PHP constraints at PHP 8.6.99. Add PHP 8.6 to lint, tests, reflection golden tests, static analysis, and PHAR runtime tests, with updated version inference expectations.Use version-specific expectations for
filter_var_array(): PHP 8.6 narrows its declared return type fromarray|false|nulltoarray|false. Keep all twelve dynamic-filter assertions for both version ranges.Turbo builds and binary tests remain on PHP 8.3–8.5. The existing selector checks for the exact minor version's binary and skips Turbo on PHP 8.6 when no matching binary is shipped.
Supersedes #6403, squashed into one commit with the PHP 8.6 Turbo build attempts removed.
Validation: reproduced the PHP 8.6 assertion failure before fixing the expectations. The filter tests pass on PHP 8.5 and 8.6 using PHPUnit 12.5.35, and the adjacent
filter_input_array()tests pass. Workflow lint and coding standards pass. The full local PHP 8.6 run is limited by missing cURL/OpenSSL extensions; CI runs with those extensions installed.