Skip to content

Conversation

@jrfnl
Copy link
Member

@jrfnl jrfnl commented Nov 18, 2025

Description

Update for the release of PHP 8.5 which is expected to be released this Thursday.

  • Builds against PHP 8.5 are no longer allowed to fail.
  • Update PHP version on which code coverage is run (high should now be 8.5).
  • Add allowed to fail build against PHP 8.6.
  • Update "tested against" badge in the README.

Note: for some workflows I use "nightly" for the "next" PHP version, for some 8.6. While it may appear there is no difference and this is true for the better part of the year, there is a difference for about two months.

To illustrate, consider PHP 8.5:

  • PHP "nightly" refers to the PHP master branch, so was PHP 8.5 until the PHP 8.5 was branched off when the first RC was cut in September.
  • As of that moment, "nightly" basically became PHP 8.6, so to test against PHP 8.5, one would need to explicitly request 8.5.
  • As of the release of PHP 8.5, it is expected for "nightly" to be PHP 8.6, so the difference is moot again.

For that reason, the unit test workflow uses the explicit 8.6 version for PHP "next".

Suggested changelog entry

N/A

... which is expected to be released this Thursday.

* Builds against PHP 8.5 are no longer allowed to fail.
* Update PHP version on which code coverage is run (high should now be 8.5).
* Add _allowed to fail_ build against PHP 8.6.
* Update "tested against" badge in the README.

Note: for some workflows I use "nightly" for the "next" PHP version, for some `8.6`.
While it may appear there is no difference and this is true for the better part of the year, there is a difference for about two months.

To illustrate, consider PHP 8.5:
* PHP "nightly" refers to the PHP `master` branch, so was PHP 8.5 until the PHP 8.5 was branched off when the first RC was cut in September.
* As of that moment, "nightly" basically became PHP 8.6, so to test against PHP 8.5, one would need to explicitly request `8.5`.
* As of the release of PHP 8.5, it is expected for "nightly" to be PHP 8.6, so the difference is moot again.

For that reason, the unit test workflow uses the explicit `8.6` version for PHP "next".
@jrfnl jrfnl added this to the 3.13.6 milestone Nov 18, 2025
@jrfnl jrfnl merged commit e4b516b into 3.x Nov 18, 2025
97 checks passed
@jrfnl jrfnl deleted the feature/ghactions-update-for-branching-php-8.5 branch November 18, 2025 05:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants