[wp-trac] [WordPress Trac] #55647: Coding Standards fixes for WP 6.1

WordPress Trac noreply at wordpress.org
Wed Jul 20 14:47:55 UTC 2022


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

Comment (by SergeyBiryukov):

 In [changeset:"53732" 53732]:
 {{{
 #!CommitTicketReference repository="" revision="53732"
 Tests: Correct the test for passing all expected parameters to the
 `preprocess_comment` filter.

 Previously, `assertSame()` was replaced with `assertSameSets()`, which
 does not preserve the array keys. `assertSameSetsWithIndex()` should have
 been used instead.

 Follow-up to [36038], [48937], [53729], [53730].

 See #55647, #56244.
 }}}

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


More information about the wp-trac mailing list