[wp-trac] [WordPress Trac] #64634: Build/Tools: Update PHPCompatibilityWP to 3.0.0-alpha2
WordPress Trac
noreply at wordpress.org
Tue Mar 10 15:53:39 UTC 2026
#64634: Build/Tools: Update PHPCompatibilityWP to 3.0.0-alpha2
-------------------------------------+--------------------------------
Reporter: rodrigosprimo | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: 7.1
Component: Build/Test Tools | Version:
Severity: normal | Resolution:
Keywords: needs-patch 2nd-opinion | Focuses: php-compatibility
-------------------------------------+--------------------------------
Changes (by rodrigosprimo):
* keywords: 2nd-opinion has-patch => needs-patch 2nd-opinion
Comment:
Thanks for the feedback, @desrosj.
Here's an update on the action items:
**Requests library update:** The Requests update from 2.0.11 to 2.0.17 has
been committed in [61769] (#64752). Thanks for quickly reviewing it!
**PR for the smaller items:** [PR #11217](https://github.com/WordPress
/wordpress-develop/pull/11217) addresses items 2, 3, and 5 from the ticket
description, plus follow-up items 1 and 3 from your comment. See the PR
description for a summary of each commit.
For the third-party library violations (item 3), I used file-level
exclusions in `phpcompat.xml.dist` rather than inline `phpcs:ignore`
annotations, following the approach used in
[63168#comment:16](https://core.trac.wordpress.org/ticket/63168#comment:16).
This ensures the exclusions survive future library updates, but has the
downside that we might miss other violations that might be introduced by
these libraries in the same file for the same excluded sniff. The affected
libraries are SimplePie, getID3, Snoopy, and the recently added
Nyholm/Psr7. All violations are either version-guarded code (unreachable
on the PHP versions where the deprecation applies) or deprecated function
usage that the upstream library hasn't addressed yet.
The PR also includes a temporary commit to exclude violations tracked in
separate tickets: `NewHTMLEntitiesFlagsDefault.NotSet` (#53465) and
`utf8_encode` (#55603). This commit is not meant to be merged as-is; the
plan is to wait for a decision on those tickets first. I've added a note
to both tickets mentioning that this ticket is blocked by them.
---
@johnbillion, there is no planned date for the 3.0.0 stable release yet.
PHPCompatibilityWP 3.0.0 depends on PHPCompatibility 10.0.0 stable, and
there is no set timeline for that release, AFAIK.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64634#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list