[wp-trac] [WordPress Trac] #44521: Add documentation to the PHPUnit factory objects

WordPress Trac noreply at wordpress.org
Thu Jul 5 13:24:05 UTC 2018


#44521: Add documentation to the PHPUnit factory objects
-------------------------+-----------------------------
 Reporter:  andizer      |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  General      |    Version:
 Severity:  normal       |   Keywords:
  Focuses:  docs         |
-------------------------+-----------------------------
 I discovered that the php unit test factories for WordPress aren't
 documented well. To make it easier for every one I decided to add some
 documentation for it.

 Another thing I was wondering about is the old php4 way to declare methods
 (without access modifiers) and var declarations on class attributes. Is it
 desirable to modernize these or should I keep this untouched. Probably it
 is worth to make a separate issue for it.

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


More information about the wp-trac mailing list