Skip to content

Upgrade PHP from 8.2 to 8.4 - #206

Merged
matt-bernhardt merged 2 commits into
masterfrom
php84
Aug 13, 2026
Merged

Upgrade PHP from 8.2 to 8.4#206
matt-bernhardt merged 2 commits into
masterfrom
php84

Conversation

@matt-bernhardt

@matt-bernhardt matt-bernhardt commented Aug 10, 2026

Copy link
Copy Markdown
Member

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).

This attempts to update PHP to an actively supported version, so that we
can experiment with what the changes look like in operation.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread pantheon.yml
enforce_https: transitional

php_version: 8.2
php_version: 8.4

@matt-bernhardt matt-bernhardt Aug 13, 2026

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@matt-bernhardt
matt-bernhardt marked this pull request as ready for review August 13, 2026 13:40
@matt-bernhardt
matt-bernhardt merged commit 3c2b46e into master Aug 13, 2026
4 checks passed
@matt-bernhardt
matt-bernhardt deleted the php84 branch August 13, 2026 13:50
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