[wp-trac] [WordPress Trac] #42803: Remove @static tags from core DocBlocks

WordPress Trac noreply at wordpress.org
Tue Dec 5 10:25:53 UTC 2017


#42803: Remove @static tags from core DocBlocks
-------------------------+-----------------------------
 Reporter:  birgire      |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  General      |    Version:
 Severity:  normal       |   Keywords:
  Focuses:  docs         |
-------------------------+-----------------------------
 This ticket is for the removal of the {{{@static}}} tag from core
 docblocks but not the {{{@staticvar}}} tag for static variables.

 The {{{@static}}} tag is redundant and similar has been done regarding the
 {{{@access}}} tag in #41452.

 Also see the comment by @DrewAPicture in ticket:41401#comment:2

 The PHPDocumentator
 [http://manual.phpdoc.org/HTMLSmartyConverter/HandS/phpDocumentor/tutorial_tags.static.pkg.html
 mentions] that {{{@static}}} was a helpful tag in PHP-4 but isn't needed
 for  {{{static}}} keyword usage in PHP-5.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/42803>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list