Skip to content

Configure johnbillion/wp-compat - #333

Closed
swissspidy wants to merge 2 commits into
mainfrom
add/wp-compat
Closed

Configure johnbillion/wp-compat#333
swissspidy wants to merge 2 commits into
mainfrom
add/wp-compat

Conversation

@swissspidy

Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings June 5, 2026 10:01
@swissspidy
swissspidy requested a review from a team as a code owner June 5, 2026 10:01
@github-actions github-actions Bot added scope:artifacts scope:distribution Related to distribution scope:testing Related to testing labels Jun 5, 2026
@codecov

codecov Bot commented Jun 5, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

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.

Pull request overview

Adds PHPStan configuration for the johnbillion/wp-compat extension so compatibility rules can be evaluated against a defined minimum WordPress version for this test framework.

Changes:

  • Add johnbillion/wp-compat as a Composer dependency so it can be installed via Composer/extension-installer.
  • Configure PHPStan (phpstan.neon.dist) to set WPCompat.requiresAtLeast to 4.9.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
phpstan.neon.dist Adds WPCompat configuration (minimum required WordPress version) for PHPStan analysis.
composer.json Adds the johnbillion/wp-compat dependency needed for the PHPStan extension.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread phpstan.neon.dist Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@swissspidy swissspidy closed this Jun 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope:artifacts scope:distribution Related to distribution scope:testing Related to testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants