[wp-trac] [WordPress Trac] #49542: Coding Standards fixes for WP 5.5

WordPress Trac noreply at wordpress.org
Thu Apr 9 15:41:18 UTC 2020


#49542: Coding Standards fixes for WP 5.5
----------------------------+-------------------------------
 Reporter:  SergeyBiryukov  |       Owner:  (none)
     Type:  task (blessed)  |      Status:  new
 Priority:  normal          |   Milestone:  5.5
Component:  General         |     Version:
 Severity:  normal          |  Resolution:
 Keywords:                  |     Focuses:  coding-standards
----------------------------+-------------------------------

Comment (by SergeyBiryukov):

 In [changeset:"47557" 47557]:
 {{{
 #!CommitTicketReference repository="" revision="47557"
 Coding Standards: Use strict type check for `in_array()` and
 `array_search()`.

 This addresses all the remaining
 `WordPress.PHP.StrictInArray.MissingTrueStrict` issues in core.

 Includes minor code layout fixes for better readability.

 Follow-up to [47550].

 See #49542.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/49542#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list