[wp-trac] [WordPress Trac] #63346: [Coding Standard]: Use self:: instead of class name for static member reference in WP_Http class
WordPress Trac
noreply at wordpress.org
Sat Apr 26 23:16:44 UTC 2025
#63346: [Coding Standard]: Use self:: instead of class name for static member
reference in WP_Http class
--------------------------+-------------------------------
Reporter: dilipbheda | Owner: SergeyBiryukov
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.9
Component: HTTP API | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses: coding-standards
--------------------------+-------------------------------
Changes (by SergeyBiryukov):
* owner: (none) => SergeyBiryukov
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"60191" 60191]:
{{{
#!CommitTicketReference repository="" revision="60191"
Coding Standards: Use `self::` for static member reference in `WP_Http`.
This resolves a PHPCS error:
{{{
Squiz.Classes.SelfMemberReference.NotUsed - Must use "self::" for local
static member reference
}}}
Follow-up to [20767], [37428], [38164].
Props dilipbheda.
Fixes #63346.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63346#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list