[wp-trac] [WordPress Trac] #30769: Unit Tests: Update @covers in a couple of tests

WordPress Trac noreply at wordpress.org
Fri Dec 19 14:49:11 UTC 2014


#30769: Unit Tests: Update @covers in a couple of tests
------------------------------+--------------------
 Reporter:  sgrant            |       Owner:
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  4.2
Component:  Build/Test Tools  |     Version:  trunk
 Severity:  normal            |  Resolution:
 Keywords:                    |     Focuses:
------------------------------+--------------------
Changes (by boonebgorges):

 * milestone:  Awaiting Review => 4.2


Comment:

 > And this is my first ticket in trac, so it's totally scary. :)

 Welcome! And fear not :)

 Good call on the incorrect annotation. For future reference, functions in
 the global scope must be referenced as sgrant notes. See
 https://phpunit.de/manual/3.7/en/appendixes.annotations.html#appendixes.annotations.covers

 See also #26999.

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


More information about the wp-trac mailing list