[wp-trac] [WordPress Trac] #64238: PHPStan code quality improvements for 7.0
WordPress Trac
noreply at wordpress.org
Tue Feb 24 22:42:43 UTC 2026
#64238: PHPStan code quality improvements for 7.0
--------------------------------------+-------------------------------
Reporter: SergeyBiryukov | Owner: (none)
Type: task (blessed) | Status: new
Priority: normal | Milestone: 7.0
Component: General | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses: coding-standards
--------------------------------------+-------------------------------
Comment (by SergeyBiryukov):
In [changeset:"61727" 61727]:
{{{
#!CommitTicketReference repository="" revision="61727"
Code Quality: Correct `return` statement in `WP_Query::setup_postdata()`.
This reflects that the method can return both `true` (success) and `false`
(failure).
Follow-up to [32620], [34089], [44941].
Props huzaifaalmesbah, westonruter.
See #64238.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64238#comment:85>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list