[wp-trac] [WordPress Trac] #35060: Allow filtering of comment count

WordPress Trac noreply at wordpress.org
Tue May 17 20:19:54 UTC 2016


#35060: Allow filtering of comment count
---------------------------------------------+-------------------------
 Reporter:  peterwilsoncc                    |       Owner:  swissspidy
     Type:  feature request                  |      Status:  closed
 Priority:  normal                           |   Milestone:  4.5
Component:  Comments                         |     Version:  2.5
 Severity:  normal                           |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests commit  |     Focuses:
---------------------------------------------+-------------------------

Comment (by jorbin):

 In [changeset:"37447"]:
 {{{
 #!CommitTicketReference repository="" revision="37447"
 Correct usage of Covers for Tests_Update_Comment_Count_Now

 When @covers is used with a plain alphanumeric string, PHPUnit assumes
 that it is covering a class. If there is no class, it fails and exits
 rather than continuing to generate coverage. To cover a global function,
 the name must start with ::. See
 https://phpunit.de/manual/5.3/en/appendixes.annotations.html#appendixes.annotations.covers

 [37445] for trunk

 See #35060, #36867
 }}}

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


More information about the wp-trac mailing list