[wp-trac] [WordPress Trac] #60757: Interactivity API: Fix invalid test @covers annotations

WordPress Trac noreply at wordpress.org
Tue Mar 12 14:47:28 UTC 2024


#60757: Interactivity API: Fix invalid test @covers annotations
------------------------------+-----------------------------
 Reporter:  jonsurrell        |      Owner:  jonsurrell
     Type:  defect (bug)      |     Status:  assigned
 Priority:  normal            |  Milestone:  Awaiting Review
Component:  Build/Test Tools  |    Version:  trunk
 Severity:  normal            |   Keywords:
  Focuses:                    |
------------------------------+-----------------------------
 If the Interactivity API tests are run with coverage, they produce
 warnings about invalid @covers annotations, for example:

 {{{
 XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-html
 ./artifacts/coverage/ --group interactivity-api --stop-on-warning
 }}}

 prints:


 > 1) Tests_WP_Interactivity_API_WP_Bind::test_wp_bind_sets_attribute
 > "@covers ::process_directives" is invalid

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


More information about the wp-trac mailing list