Repository navigation
feat: require php 8.2 or newer and pin patched php in ci - #591
Merged
Merged
Conversation
Pin PHP to 8.4.27 via .php-version in the checks and release workflows and print the version, so the runtime is patched for CVE-2026-109618 and CVE-2026-109619 and can be verified from source control.
PHP 7.4, 8.0 and 8.1 are end-of-life and no longer receive security fixes. Users on those versions keep the last compatible release.
moeaffinidi
marked this pull request as ready for review
October 23, 2026 15:41
moeaffinidi
requested review from
carlos-affinidi,
maindotdev,
marat-affinidi and
rbrazhnyk
as code owners
October 23, 2026 15:41
deepak-affinidi
previously approved these changes
Oct 23, 2026
Run the workflows on the minimum supported PHP version (8.2) and let setup-php update to the latest patch release, instead of an exact pin.
maindotdev
approved these changes
Oct 23, 2026
marat-affinidi
approved these changes
Oct 23, 2026
|
🎉 This PR is included in version 1.23.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
🛡️ AI Agentic Security Code Review3 AI-confirmed issues, 2 findings need a human to review/validate. Mandatory to check: 🔒 Security Code Review Report — Security tab ↗ 📊 Summary & findings
Finding details (titles, evidence + remediation) are in the 🔒 Security tab ↗ — visible to maintainers / code owners only. |
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.
What
Follow-up to the PHP security release of 21 Oct 2026 (CVE-2026-109618, CVE-2026-109619), fixed in PHP 8.2.35, 8.3.36, 8.4.27 and 8.5.12: https://thephp.foundation/blog/2026/10/21/todays-php-security-release-and-how-were-strengthening-php-security/
The vulnerabilities are in the PHP engine, so this SDK cannot fix them itself. The changes below make sure CI runs a patched PHP and that the supported PHP range no longer includes end-of-life versions.
Changes
8.4.27through a new.php-versionfile, read bysetup-phpin bothchecks.yamlandrelease.yaml, and printphp -v. Previously the test step inchecks.yamlran on the runner's preinstalled PHP (8.5.4 on the currentubuntu-26.04image), andrelease.yamlused8.4.phpincomposer.jsongoes from^7.4 || ^8.0to^8.2.composer.lockis updated to match (content-hashand platform entry).Impact for users