Skip to content

Drop a PHPStan ignore that 2.3.0 no longer needs - #10

Merged
ericmann merged 1 commit into
mainfrom
core-feedback
Oct 9, 2026
Merged

ericmann merged 1 commit into
mainfrom
core-feedback

Conversation

@ericmann

@ericmann ericmann commented Oct 9, 2026

Copy link
Copy Markdown
Owner

Keeps the shared tests identical to the core patch (WordPress/wordpress-develop#13759) after it merged trunk, which moved to PHPStan 2.3.0. One comment in one test; no behavior change. Can ride along with the next round of feedback.

Core's trunk moved to PHPStan 2.3.0, which no longer reports
method.impossibleType on the assertion in the memzero test. The tests are
analyzed inside wordpress-develop, where an unmatched ignore is an error.
@ericmann
ericmann merged commit 460409e into main Oct 9, 2026
15 checks passed
@ericmann
ericmann deleted the core-feedback branch October 9, 2026 20:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant