[wp-trac] [WordPress Trac] #52217: Fix code issues identified by PHPStan
WordPress Trac
noreply at wordpress.org
Fri Nov 8 15:50:27 UTC 2024
#52217: Fix code issues identified by PHPStan
-------------------------+-------------------------------
Reporter: johnbillion | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: General | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses: coding-standards
-------------------------+-------------------------------
Comment (by SergeyBiryukov):
In [changeset:"59376" 59376]:
{{{
#!CommitTicketReference repository="" revision="59376"
Coding Standards: Remove unnecessary `isset()` from `xmlrpc.php`.
This removes a redundant `isset( $HTTP_RAW_POST_DATA )` from `xmlrpc.php`,
as the variable is already set in the code block immediately preceding the
affected line.
Follow-up to [3498], [5445], [47926].
Props justlevine.
See #52217.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52217#comment:69>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list