[wp-trac] [WordPress Trac] #52482: Tests: Reduce usage of assertEquals() for 5.8

WordPress Trac noreply at wordpress.org
Fri Jun 4 12:25:51 UTC 2021


#52482: Tests: Reduce usage of assertEquals() for 5.8
-----------------------------------+-----------------------------
 Reporter:  johnbillion            |       Owner:  SergeyBiryukov
     Type:  task (blessed)         |      Status:  accepted
 Priority:  normal                 |   Milestone:  5.8
Component:  Build/Test Tools       |     Version:
 Severity:  normal                 |  Resolution:
 Keywords:  needs-unit-tests php8  |     Focuses:
-----------------------------------+-----------------------------

Comment (by Simivar):

 In PHP-CS-Fixer there's already `php_unit_strict` rule. Maybe it would be
 a good idea to use that tool as well so there's no need to develop
 additional custom rules or wait for it to be developed and use battle-
 tested ones instead?

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


More information about the wp-trac mailing list