[wp-trac] [WordPress Trac] #27200: Remove all non-file-level @package/@subpackage tags

WordPress Trac noreply at wordpress.org
Tue Feb 25 11:09:21 UTC 2014


#27200: Remove all non-file-level @package/@subpackage tags
--------------------------+------------------------------
 Reporter:  DrewAPicture  |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  docs
--------------------------+------------------------------

Comment (by Rarst):

 Note that it is _valid_ for class (top level class phpdoc). It's only
 invalid for functions (and methods I assume since that doesn't make
 sense). Of course if file header has package already repeating it in class
 is just redundant.

 I have compiled a list of core files with more than one `@package` match
 in them: https://gist.github.com/Rarst/9206962

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


More information about the wp-trac mailing list