[wp-trac] [WordPress Trac] #58831: Coding Standards fixes for WP 6.4
WordPress Trac
noreply at wordpress.org
Thu Sep 14 12:44:39 UTC 2023
#58831: Coding Standards fixes for WP 6.4
--------------------------------------+-------------------------------
Reporter: audrasjb | Owner: (none)
Type: task (blessed) | Status: new
Priority: normal | Milestone: 6.4
Component: General | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses: coding-standards
--------------------------------------+-------------------------------
Comment (by SergeyBiryukov):
In [changeset:"56586" 56586]:
{{{
#!CommitTicketReference repository="" revision="56586"
Coding Standards: Restore more descriptive variable names in a few class
methods.
When various methods parameters in child classes were renamed to `$item`
to match the parent class for PHP 8 named parameter support, most of the
methods restored the more descriptive, specific name at the beginning for
better readability, with several exceptions for methods consisting only of
a few lines.
To avoid confusion about why some methods do that and some don't, this
commit aims to bring more consistency to the code, specifically in list
tables' `::column_default()` methods.
Follow-up to [51728], [51737], [51786].
See #58831.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58831#comment:47>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list