chore: lower minimum PHP to 8.2#49
Merged
Merged
Conversation
PHPCompatibility reports zero 8.2 (or even 8.0) incompatibilities in the codebase, so 8.3 was only a policy floor. Lower Requires PHP to 8.2 in the plugin header and readme, set the PHPCompatibility testVersion to 8.2-, update CONTRIBUTING, and run CI on a 8.2 + 8.3 matrix so the new floor is enforced. Co-Authored-By: Claude Opus 4.8 <[email protected]>
Copilot stopped reviewing on behalf of
payown due to an error
June 17, 2026 04:19
There was a problem hiding this comment.
Pull request overview
Note
Copilot was unable to run its full agentic suite in this review.
This PR lowers the project’s minimum supported PHP version from 8.3 to 8.2 and updates tooling/CI to reflect and validate that support.
Changes:
- Updated declared minimum PHP version to 8.2 across plugin metadata and documentation.
- Adjusted PHPCS PHPCompatibility version floor to 8.2.
- Expanded CI to test against both PHP 8.2 and 8.3.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| readme.txt | Updates plugin readme “Requires PHP” and related release notes to 8.2. |
| phpcs.xml.dist | Aligns PHPCompatibility testVersion to the new 8.2 floor. |
| outpost.php | Updates plugin header “Requires PHP” to 8.2. |
| CONTRIBUTING.md | Updates contributor guidance to state PHP 8.2 minimum. |
| .github/workflows/ci.yml | Runs CI on a PHP 8.2/8.3 matrix instead of only 8.3. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
Lowers the minimum PHP from 8.3 to 8.2.
Why it's safe
PHPCompatibility reports zero incompatibilities against an 8.2 floor (zero down to 8.0, actually) — nothing in the code depends on 8.3. The 8.3 minimum was a policy choice, not a code constraint.
Changes
outpost.phpandreadme.txt:Requires PHP8.3 → 8.2 (+ changelog/upgrade-notice).phpcs.xml.dist:testVersion8.2-.CONTRIBUTING.md: minimum noted as 8.2.Local: PHPCS exit 0, 22/22 tests pass.
🤖 Generated with Claude Code