[wp-trac] [WordPress Trac] #50767: Coding Standards fixes for WP 5.6
WordPress Trac
noreply at wordpress.org
Sun Oct 18 17:25:24 UTC 2020
#50767: Coding Standards fixes for WP 5.6
--------------------------------------+-------------------------------
Reporter: SergeyBiryukov | Owner: (none)
Type: task (blessed) | Status: new
Priority: normal | Milestone: 5.6
Component: General | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses: coding-standards
--------------------------------------+-------------------------------
Comment (by SergeyBiryukov):
In [changeset:"49193" 49193]:
{{{
#!CommitTicketReference repository="" revision="49193"
Coding Standards: Replace alias PHP functions with the canonical names.
Using the canonical function name for PHP functions is strongly
recommended, as aliases may be deprecated or removed without (much)
warning.
This replaces all uses of the following:
* `join()` with `implode()`
* `sizeof()` with `count()`
* `is_writeable()` with `is_writable()`
* `doubleval()` with a `(float)` cast
In part, this is a follow-up to #47746.
Props jrf.
See #50767.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50767#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list