[wp-trac] [WordPress Trac] #63268: PHPStan code quality improvements for 6.9
WordPress Trac
noreply at wordpress.org
Wed Jul 2 16:43:13 UTC 2025
#63268: PHPStan code quality improvements for 6.9
----------------------------+-------------------------------
Reporter: justlevine | Owner: SergeyBiryukov
Type: task (blessed) | Status: accepted
Priority: normal | Milestone: 6.9
Component: General | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses: coding-standards
----------------------------+-------------------------------
Comment (by SergeyBiryukov):
In [changeset:"60406" 60406]:
{{{
#!CommitTicketReference repository="" revision="60406"
Coding Standards: Remove unnecessary conditional from `do_trackbacks()`.
The check for a truthy `$to_ping` value is redundant, as a falsey value
would cause the function to return early a few lines above.
Follow-up to [1794], [2612].
Props justlevine.
See #63268.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63268#comment:153>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list