Upgrade PHP from 8.2 to 8.4 - #206
Conversation
This attempts to update PHP to an actively supported version, so that we can experiment with what the changes look like in operation.
There was a problem hiding this comment.
Pull request overview
Updates the project’s declared PHP runtime to a newer, actively supported version across Pantheon configuration, Composer platform requirements, and CI so the codebase can be exercised on the upgraded runtime.
Changes:
- Bump Pantheon runtime from PHP 8.2 to 8.4.
- Raise Composer’s PHP platform requirement to
>=8.4(composer.json + composer.lock). - Update GitHub Actions CI matrix to run on PHP 8.4 and 8.5.
Reviewed changes
Copilot reviewed 3 out of 4 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
pantheon.yml |
Pins Pantheon runtime to PHP 8.4. |
composer.json |
Raises the project’s PHP requirement to >=8.4. |
composer.lock |
Updates lock metadata and platform PHP constraint to >=8.4. |
.github/workflows/ci.yml |
Adjusts CI to test on PHP 8.4 and 8.5. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| enforce_https: transitional | ||
|
|
||
| php_version: 8.2 | ||
| php_version: 8.4 |
There was a problem hiding this comment.
The Sage materials were added by Pantheon as part of their platform offering (before they unpublished the repository upon which we based this network). We don't use these workflows ourselves. I'll be removing these materials from the repository in a future ticket.
This upgrades our version of PHP from 8.2 (leaving security-only update status at the end of the year) to 8.4 (still actively supported, although leaving active support at the end of the year).