Repository navigation
chore: require PHP 8.2 or later - #59
Merged
Merged
Conversation
PHP 8.0 and 8.1 are end-of-life and will not receive the fixes for CVE-2026-109618 / CVE-2026-109619 (PHP2Shell). CI and the README already cover only 8.2-8.5; align the composer constraint with that. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
mihir-pradhan
approved these changes
Oct 21, 2026
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.
Summary
Raise the composer PHP constraint from
>=8.0to>=8.2.PHP 8.0 and 8.1 are end-of-life and will not receive the fixes for CVE-2026-109618 / CVE-2026-109619 ("PHP2Shell", unauthenticated RCE in the PHP engine, disclosed 2026-10-21, fixed in 8.2.35 / 8.3.36 / 8.4.27 / 8.5.12). CI and the README already cover only 8.2–8.5; this aligns composer with that.
This library is not vulnerable itself, because the bugs are in the PHP runtime. This change stops us from declaring support for runtimes that can't be patched. Users still have to patch PHP themselves.
Notes for reviewers
composer.lock: only theplatformentry changed. The lock'scontent-hashwas already stale on master (it doesn't match master's own composer.json, because of thephp-coveralls: dev-masterdev dependency), andcomposer update --lockfails to resolve for the same reason. I left the hash alone rather than paper over that. It's a separate fix.>=8.2.35). Distros backport security fixes without bumping the version, so it would block correctly patched distro PHP.Testing
This PR was generated with AI assistance (Claude).
🤖 Generated with Claude Code