Skip to content

chore: raise minimum PHP version to 8.2 for 2.x release - #272

Merged
GaryJones merged 1 commit into
2.xfrom
feature/php-8.2-minimum
Jan 20, 2026
Merged

GaryJones merged 1 commit into
2.xfrom
feature/php-8.2-minimum

Conversation

@GaryJones

Copy link
Copy Markdown
Contributor

Summary

  • Update minimum PHP version from 7.4 to 8.2 for the 2.x release
  • Update CI workflows to test PHP 8.2, 8.3, and 8.4
  • Update documentation to reflect new requirements

Changes

File Update
composer.json "php": ">=8.2"
msm-sitemap.php Plugin header Requires PHP: 8.2
.wp-env.json "phpVersion": "8.2"
README.md Requires PHP: 8.2
CONTRIBUTING.md PHP 8.2+
unit.yml Matrix: 8.2, 8.3, 8.4
integration.yml Lowest: PHP 8.2

Test plan

  • CI passes on PHP 8.2, 8.3, 8.4
  • No PHP 7.x compatibility code remains in use

🤖 Generated with Claude Code

Updates all configuration files and documentation to reflect the new PHP 8.2 minimum requirement for the 2.x branch. This allows the plugin to leverage modern PHP features whilst maintaining compatibility with currently supported PHP versions.

The CI workflow matrices have been adjusted to test against PHP 8.2, 8.3, and 8.4, removing support for PHP 7.4 and 8.1.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@GaryJones
GaryJones requested a review from a team as a code owner January 20, 2026 12:51
@GaryJones GaryJones added the type: maintenance Routine maintenance and code quality improvements label Jan 20, 2026
@GaryJones GaryJones self-assigned this Jan 20, 2026
@GaryJones GaryJones added this to the 2.0.0 milestone Jan 20, 2026
@GaryJones
GaryJones merged commit 31e89a1 into 2.x Jan 20, 2026
7 checks passed
@GaryJones
GaryJones deleted the feature/php-8.2-minimum branch January 20, 2026 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: maintenance Routine maintenance and code quality improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant