[wp-trac] [WordPress Trac] #64627: Coding Standards: Remove or update stale PHPCS annotations
WordPress Trac
noreply at wordpress.org
Fri Feb 13 23:59:15 UTC 2026
#64627: Coding Standards: Remove or update stale PHPCS annotations
--------------------------------------+-------------------------------
Reporter: rodrigosprimo | Owner: SergeyBiryukov
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 7.0
Component: Build/Test Tools | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses: coding-standards
--------------------------------------+-------------------------------
Comment (by SergeyBiryukov):
In [changeset:"61641" 61641]:
{{{
#!CommitTicketReference repository="" revision="61641"
Coding Standards: Remove unnecessary annotations for `__ngettext()` and
`__ngettext_noop()`.
Since PHPCompatibility 9.3.2, the `ReservedFunctionNames` sniff skips
functions with a `@deprecated` tag.
Reference: [https://github.com/PHPCompatibility/PHPCompatibility/pull/917
WPCS: ReservedFunctionNames: ignore deprecated functions].
Follow-up to [46290].
Props rodrigosprimo.
See #64627.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64627#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list