Repository navigation
Update PHP lint tooling and resolve coding standards findings - #775
Merged
Merged
Conversation
wporg-repo-tools now requires phpcompatibility/phpcompatibility-wp itself, which pulls php-compatibility and phpcompatibility-paragonie with it, so this project no longer needs to list any of the three. Removing them also removes the per-constraint `@alpha` flags that were the only reason resolution worked without root stability settings. The package requires `^3.0@alpha` transitively, and Composer reads `minimum-stability` and `prefer-stable` only from the root, so both have to be declared here for the alpha to resolve. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
bor0
added a commit
that referenced
this pull request
Sep 17, 2026
Trunk now carries the PHP 8.2 test environment (#770) and the coding-standards pass (#775), which annotated the `$_GET` read this branch removes. Resolved by keeping the caller-supplied code and dropping the suppression it no longer needs, and by taking trunk's version of the encryption tests wholesale. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013V9sVz7atsstmmD8gN39Df
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.
Updates the PHP lint toolchain, enables warnings, and runs full-repository PHPCS in CI. PHP findings are reported without blocking CI. Commits separate tooling, PHPCBF formatting, and manual fixes.
Changes
WordPress.DB.DirectDatabaseQueryglobally, matching wordpress.org, while retaining SQL preparation checks.This PR is self-contained and requires no WordCamp changes.
Validation
update-configs; the tracked PHPCS config remains unchanged.Hosted CI results are available in the PR checks. Live service behavior was not tested locally.