[wp-trac] [WordPress Trac] #42803: Remove @static tags from core DocBlocks
WordPress Trac
noreply at wordpress.org
Sun Feb 25 20:31:36 UTC 2018
#42803: Remove @static tags from core DocBlocks
------------------------------+-------------------------------------
Reporter: birgire | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 5.0
Component: General | Version:
Severity: normal | Resolution:
Keywords: has-patch commit | Focuses: docs, coding-standards
------------------------------+-------------------------------------
Comment (by SergeyBiryukov):
In [changeset:"42747"]:
{{{
#!CommitTicketReference repository="" revision="42747"
Docs: Remove `@static` notations from property DocBlocks in `wp-admin/*`
and `wp-includes/*` classes.
This tag has been used in the past, but should no longer be used. Just
using the `static` keyword in code is enough for PhpDocumentor on PHP5+ to
recognize static variables and methods, and PhpDocumentor will mark them
as static.
Props birgire.
See #42803.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42803#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list