release: 2.1.0#11
Merged
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
This PR prepares version 2.1.0 of the WPGraphQL Coding Standards package, adding support for the latest alpha versions of PHPCompatibility/PHPCompatibilityWP and making various improvements to rulesets and configuration files.
Changes:
- Added support for PHPCompatibility v10-alpha and PHPCompatibilityWP v3-alpha
- Updated minimum PHP version from 7.2 to 7.4
- Enhanced rulesets with additional PHPStan annotations and formatting rules
- Improved configuration files (.editorconfig, .gitattributes, .gitignore)
- Updated GitHub Actions workflow with pinned versions and PHP 8.5 support
- Added Dependabot configuration for automated dependency updates
Reviewed changes
Copilot reviewed 14 out of 15 changed files in this pull request and generated 8 comments.
Show a summary per file
| File | Description |
|---|---|
| CHANGELOG.md | Documents the 2.1.0 release with feature additions and improvements |
| composer.json | Updates dependencies, PHP requirements, and reorganizes metadata |
| phpcs.xml.dist.example | Updates XSD schema URL, PHP/WP version defaults, and formatting |
| WPGraphQL/ruleset.xml | Reformats ruleset opening tag for consistency |
| WPGraphQL-Strict/ruleset.xml | Updates XSD schema URL and adds self-closing slashes to properties |
| WPGraphQL-Minimum/ruleset.xml | Adds PHPStan annotations, excludes deprecated JS rules, improves comments |
| WPGraphQL-Extra/ruleset.xml | Adds function spacing rule and updates property formatting |
| WPGraphQL-Docs/ruleset.xml | Reformats ruleset opening tag |
| WPGraphQL-Core/ruleset.xml | Reformats ruleset opening tag and adds spacing fix |
| README.md | Updates version badge to reflect 2.1.0 release |
| .gitignore | Reorganizes entries with section headers |
| .gitattributes | Restructures and adds linguist documentation markers |
| .editorconfig | Expands configuration with WordPress standards and file-type rules |
| .github/workflows/test.yml | Pins action versions, adds PHP 8.5, improves security settings |
| .github/dependabot.yml | Adds new configuration for automated dependency management |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Why
How
Testing Instructions
Checklist: