[wp-trac] [WordPress Trac] #56846: All test classes that use the "wp" prefix should be renamed for consistency

WordPress Trac noreply at wordpress.org
Thu Oct 20 05:47:51 UTC 2022


#56846: All test classes that use the "wp" prefix should be renamed for consistency
---------------------------+-------------------------------
 Reporter:  antonvlasenko  |       Owner:  (none)
     Type:  enhancement    |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  General        |     Version:  6.1
 Severity:  minor          |  Resolution:
 Keywords:                 |     Focuses:  coding-standards
---------------------------+-------------------------------

Comment (by costdev):

 `Tests_Folder_WpListCategories` is compliant with PSR-1, although we do
 have numerous `WP_Something` classes in Core that aren't.

 As the Handbook states the correct naming is `WpListCategories`, I think
 we should use this and address this topic when we begin work on
 reorganising the test suite as a whole.

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


More information about the wp-trac mailing list