Skip to content

Fix PHP requirement test after contact-form-7 started requiring WordPress 7.1 - #560

Merged
swissspidy merged 1 commit into
mainfrom
claude/fix-php-requirement-test
Oct 6, 2026
Merged

swissspidy merged 1 commit into
mainfrom
claude/fix-php-requirement-test

Conversation

@swissspidy

Copy link
Copy Markdown
Member

The scheduled run on main is failing in the "Can't install plugin that requires a newer version of PHP" scenario, on the PHP 7.2 and 7.3 jobs with WordPress 6.9.

The scenario installs contact-form-7 and expects the PHP requirement warning. contact-form-7 6.2 now requires WordPress 7.1, so the WordPress requirement check fails first:

Warning: contact-form-7: This plugin does not work with your version of WordPress. Minimum WordPress requirement is 7.1

This PR switches the scenario to wp-mail-smtp. Its latest release requires PHP 7.4 and WordPress 5.5, so the PHP check is the one that fails on these jobs, as the scenario intends.

🤖 Generated with Claude Code

https://claude.ai/code/session_01D26yjkN2BiqCXT6p6o1WqS


Generated by Claude Code

… test

contact-form-7 6.2 requires WordPress 7.1, so on the PHP 7.2/7.3 jobs
with WordPress 6.9 the WordPress requirement check fails first and the
expected PHP warning never shows. wp-mail-smtp requires PHP 7.4 and
WordPress 5.5.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D26yjkN2BiqCXT6p6o1WqS
Copilot AI balanced review requested due to automatic review settings October 6, 2026 06:40
@swissspidy
swissspidy requested a review from a team as a code owner October 6, 2026 06:40

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@coderabbitai

coderabbitai Bot commented Oct 6, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 45 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: dcce5ad0-1f75-4b12-b19d-33f9bfbe32f1
📥 Commits

Reviewing files that changed from the base of the PR and between b75b10b and d5b97c0.

📒 Files selected for processing (1)
  • features/plugin-install.feature
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@codecov

codecov Bot commented Oct 6, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@swissspidy
swissspidy merged commit 5767483 into main Oct 6, 2026
57 checks passed
@swissspidy
swissspidy deleted the claude/fix-php-requirement-test branch October 6, 2026 07:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automated-pr bug command:plugin-install Related to 'plugin install' command scope:testing Related to testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants