[wp-trac] [WordPress Trac] #48965: Prefer strict PHP comparisons over loose PHP comparisons

WordPress Trac noreply at wordpress.org
Thu Jan 9 00:53:42 UTC 2020


#48965: Prefer strict PHP comparisons over loose PHP comparisons
-------------------------+-------------------------------
 Reporter:  pikamander2  |       Owner:  SergeyBiryukov
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  5.4
Component:  General      |     Version:
 Severity:  minor        |  Resolution:  fixed
 Keywords:               |     Focuses:  coding-standards
-------------------------+-------------------------------
Changes (by SergeyBiryukov):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"47054" 47054]:
 {{{
 #!CommitTicketReference repository="" revision="47054"
 Coding Standards: Use strict comparison and Yoda conditions in the root
 directory files.

 Props pikamander2.
 Fixes #48965.
 }}}

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


More information about the wp-trac mailing list