Skip to content

chore: lower minimum PHP to 8.2#49

Merged
payown merged 1 commit into
mainfrom
chore/min-php-8.2
Jun 17, 2026
Merged

chore: lower minimum PHP to 8.2#49
payown merged 1 commit into
mainfrom
chore/min-php-8.2

Conversation

@payown

@payown payown commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

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.php and readme.txt: Requires PHP 8.3 → 8.2 (+ changelog/upgrade-notice).
  • phpcs.xml.dist: testVersion 8.2-.
  • CONTRIBUTING.md: minimum noted as 8.2.
  • CI now runs a 8.2 + 8.3 matrix so the new floor is actually enforced.

Local: PHPCS exit 0, 22/22 tests pass.

🤖 Generated with Claude Code

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 AI review requested due to automatic review settings June 17, 2026 04:19
@payown payown merged commit 1ecd16a into main Jun 17, 2026
2 checks passed
@payown payown deleted the chore/min-php-8.2 branch June 17, 2026 04:19
Copilot stopped reviewing on behalf of payown due to an error June 17, 2026 04:19

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

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.

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