[wp-trac] [WordPress Trac] #57723: Fix Test Class Header Tags in Few More Files

WordPress Trac noreply at wordpress.org
Fri Mar 3 14:42:57 UTC 2023


#57723: Fix Test Class Header Tags in Few More Files
------------------------------+-----------------------------
 Reporter:  fuadragib         |       Owner:  SergeyBiryukov
     Type:  enhancement       |      Status:  closed
 Priority:  normal            |   Milestone:  6.2
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch         |     Focuses:
------------------------------+-----------------------------
Changes (by SergeyBiryukov):

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


Comment:

 In [changeset:"55457" 55457]:
 {{{
 #!CommitTicketReference repository="" revision="55457"
 Tests: Second pass at merging file-level and class-level DocBlocks in
 various unit test files.

 Per the[https://developer.wordpress.org/coding-standards/inline-
 documentation-standards/php/#6-file-headers documentation standards],
 whenever possible, all WordPress files should contain a header DocBlock,
 regardless of the file’s contents – this includes files containing
 classes.

 However, this recommendation makes less sense for unit test classes if not
 applied consistently, and the duplicate tags cause some confusion.

 This commit aims to reduce confusion and avoid repeating information by
 combining the DocBlocks.

 Follow-up to [55337].

 Props sakibmd, fuadragib, robinwpdeveloper, naeemhaque, seakashdiu,
 jakariaistauk, hasanmisbah, SergeyBiryukov.
 Fixes #57723.
 }}}

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


More information about the wp-trac mailing list