[wp-trac] [WordPress Trac] #56648: Improve comment type for Single line comment

WordPress Trac noreply at wordpress.org
Sat Sep 24 21:06:12 UTC 2022


#56648: Improve comment type for Single line comment
------------------------------+-------------------------------
 Reporter:  rajanpanchal2028  |       Owner:  (none)
     Type:  enhancement       |      Status:  closed
 Priority:  low               |   Milestone:
Component:  General           |     Version:
 Severity:  minor             |  Resolution:  invalid
 Keywords:  has-patch         |     Focuses:  coding-standards
------------------------------+-------------------------------
Changes (by jrf):

 * status:  new => closed
 * resolution:   => invalid
 * milestone:  Awaiting Review =>


Comment:

 Actually... `(include|require)[_once]` statements are considered
 structural elements for which a (short-form) docblock is the correct
 annotation format.

 Also see: https://github.com/php-fig/fig-
 standards/blob/master/proposed/phpdoc.md#3-definitions

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


More information about the wp-trac mailing list