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.

@codecov
Copy link
Copy Markdown

codecov Bot commented Jun 5, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants