[wp-trac] [WordPress Trac] #56070: Use a consistent order of annotations in the test suite

WordPress Trac noreply at wordpress.org
Mon Jun 27 06:44:16 UTC 2022


#56070: Use a consistent order of annotations in the test suite
--------------------------------------+---------------------
 Reporter:  SergeyBiryukov            |       Owner:  (none)
     Type:  enhancement               |      Status:  new
 Priority:  normal                    |   Milestone:  6.1
Component:  Build/Test Tools          |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+---------------------

Comment (by dingo_d):

 I love seeing more structure in the inline docs, kudos for creating this
 ticket to bring more consistency across the codebase!

 I have one question about checking docblocks.

 Are we checking inline docblocks for the structure/order? And do we intend
 to do so using tools like PHPCS?

 I also agree with Juliette that we should see if we can align our
 docblocks with the official proposals for the docblocks in the PHP
 community. Even though those are still drafts (should also keep an eye on
 PER standards if they will add inline docs to their list).

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


More information about the wp-trac mailing list