Skip to content

ci: run the suite on PHP 8.6 alongside 8.4 and 8.5 - #17

Merged
lisachenko merged 2 commits into
masterfrom
feature/wonderful-johnson-03ot8f
Nov 21, 2026
Merged

lisachenko merged 2 commits into
masterfrom
feature/wonderful-johnson-03ot8f

Conversation

@lisachenko

@lisachenko lisachenko commented Nov 21, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Adds '8.6' to the test matrix, which covers both the lowest and highest dependency legs.
  • z-engine constraint: ~8.4.2 || ~8.5.0 || ~8.6.0. Every minor resolves a stable tag; z-engine 8.6.0 is released.
  • PHPUnit floor goes from ^12.2 to ^12.3.6. On PHP 8.6, PHPUnit 12.2.0 failed 2 of 8 .phpt tests on the prefer-lowest leg: it passes -d report_memleaks=0 to each child, PHP 8.6 emits PHP Deprecated: Directive 'report_memleaks' is deprecated at startup, and that line lands in the captured output. 12.3.6 is the first release without it.
  • README updated for 8.6.

Verified on PHP 8.6.0, against z-engine 8.6.0

  • Highest deps: 8/8 tests OK
  • Lowest deps (PHPUnit 12.3.6): 8/8 tests OK

🤖 Generated with Claude Code

https://claude.ai/code/session_01FxhC1D34vSRsQVcgd3HwS6

z-engine's 8.6 line joins the constraint as ~8.6.0@dev: it resolves the
8.6.x-dev branch alias until z-engine tags 8.6.0, and prefer-stable moves it
onto the tag by itself (and keeps 8.4/8.5 on their stable tags meanwhile).

PHPUnit's floor goes to ^12.3.6: earlier releases pass -d report_memleaks=0
to every .phpt child, a directive PHP 8.6 reports as deprecated at startup,
which is prepended to the captured output and fails every --EXPECT-- block
on the prefer-lowest leg.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FxhC1D34vSRsQVcgd3HwS6
z-engine tagged 8.6.0, so the PHP 8.6 line no longer needs its 8.6.x-dev
branch: the constraint becomes ~8.4.2 || ~8.5.0 || ~8.6.0, every minor
resolves a stable tag, and the docs drop the root-level workaround a
consumer on PHP 8.6 needed until now.

The prefer-stable flag existed only to keep 8.4/8.5 on their tags while
the dev constraint was present, and goes with it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FxhC1D34vSRsQVcgd3HwS6
@lisachenko
lisachenko marked this pull request as ready for review November 21, 2026 13:33
@lisachenko
lisachenko merged commit 5faa8da into master Nov 21, 2026
7 checks passed
@lisachenko
lisachenko deleted the feature/wonderful-johnson-03ot8f branch November 21, 2026 13:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants