[wp-trac] [WordPress Trac] #50767: Coding Standards fixes for WP 5.6

WordPress Trac noreply at wordpress.org
Sun Oct 18 15:26:14 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:                  |     Focuses:  coding-standards
----------------------------+-------------------------------
Changes (by jrf):

 * Attachment "50767-dont-use-alias-functions.patch" added.

 QA: don't use alias functions  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

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/50767>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list