From d73896a2241992f342d5388b5674a69f5cfc59d0 Mon Sep 17 00:00:00 2001
From: jrfnl <jrfnl@users.noreply.github.com>
Date: Mon, 24 Aug 2020 17:14:12 +0200
Subject: [PATCH] Tests: use clean `@covers` tags

The `()` at the end if unnecessary and disregarded by PHPUnit, so can be removed.
---
 .../phpunit/tests/admin/includesTemplate.php  |   4 +-
 .../tests/admin/wpPrivacyRequestsTable.php    |   2 +-
 tests/phpunit/tests/ajax/CustomizeManager.php |  16 +--
 tests/phpunit/tests/ajax/CustomizeMenus.php   |   4 +-
 .../tests/customize/custom-css-setting.php    |  14 +-
 tests/phpunit/tests/customize/manager.php     |  78 +++++------
 .../tests/customize/nav-menu-item-setting.php |   4 +-
 tests/phpunit/tests/customize/nav-menus.php   |  12 +-
 tests/phpunit/tests/dependencies/scripts.php  |   8 +-
 tests/phpunit/tests/general/wpError.php       | 128 +++++++++---------
 tests/phpunit/tests/post/nav-menu.php         |   2 +-
 tests/phpunit/tests/post/types.php            |  12 +-
 .../rest-block-renderer-controller.php        |  16 +--
 .../tests/rest-api/rest-posts-controller.php  |   2 +-
 tests/phpunit/tests/theme.php                 |   2 +-
 tests/phpunit/tests/widgets.php               |  22 +--
 .../tests/widgets/media-audio-widget.php      |   2 +-
 .../tests/widgets/media-gallery-widget.php    |  10 +-
 .../tests/widgets/media-image-widget.php      |   2 +-
 .../tests/widgets/media-video-widget.php      |  16 +--
 tests/phpunit/tests/widgets/media-widget.php  |  22 +--
 tests/phpunit/tests/widgets/text-widget.php   |   4 +-
 22 files changed, 191 insertions(+), 191 deletions(-)

diff --git a/tests/phpunit/tests/admin/includesTemplate.php b/tests/phpunit/tests/admin/includesTemplate.php
index a944615b8d..82f7ad3332 100644
--- a/tests/phpunit/tests/admin/includesTemplate.php
+++ b/tests/phpunit/tests/admin/includesTemplate.php
@@ -131,7 +131,7 @@ class Tests_Admin_includesTemplate extends WP_UnitTestCase {
 	 * Test calling get_settings_errors() with variations on where it gets errors from.
 	 *
 	 * @ticket 42498
-	 * @covers ::get_settings_errors()
+	 * @covers ::get_settings_errors
 	 * @global array $wp_settings_errors
 	 */
 	public function test_get_settings_errors_sources() {
@@ -171,7 +171,7 @@ class Tests_Admin_includesTemplate extends WP_UnitTestCase {
 
 	/**
 	 * @ticket 44941
-	 * @covers ::settings_errors()
+	 * @covers ::settings_errors
 	 * @global array $wp_settings_errors
 	 * @dataProvider settings_errors_css_classes_provider
 	 */
diff --git a/tests/phpunit/tests/admin/wpPrivacyRequestsTable.php b/tests/phpunit/tests/admin/wpPrivacyRequestsTable.php
index b73701787c..e4823f21db 100644
--- a/tests/phpunit/tests/admin/wpPrivacyRequestsTable.php
+++ b/tests/phpunit/tests/admin/wpPrivacyRequestsTable.php
@@ -61,7 +61,7 @@ class Tests_Admin_WpPrivacyRequestsTable extends WP_UnitTestCase {
 	 * @param string      $expected Expected in SQL query.
 
 	 * @dataProvider data_test_columns_should_be_sortable
-	 * @covers WP_Privacy_Requests_Table::prepare_items()
+	 * @covers WP_Privacy_Requests_Table::prepare_items
 	 * @ticket 43960
 	 */
 	public function test_columns_should_be_sortable( $order, $orderby, $search, $expected ) {
diff --git a/tests/phpunit/tests/ajax/CustomizeManager.php b/tests/phpunit/tests/ajax/CustomizeManager.php
index 1126e8e667..e9a03de711 100644
--- a/tests/phpunit/tests/ajax/CustomizeManager.php
+++ b/tests/phpunit/tests/ajax/CustomizeManager.php
@@ -103,7 +103,7 @@ class Tests_Ajax_CustomizeManager extends WP_Ajax_UnitTestCase {
 	 * Test WP_Customize_Manager::save().
 	 *
 	 * @ticket 30937
-	 * @covers WP_Customize_Manager::save()
+	 * @covers WP_Customize_Manager::save
 	 */
 	function test_save_failures() {
 		global $wp_customize;
@@ -270,7 +270,7 @@ class Tests_Ajax_CustomizeManager extends WP_Ajax_UnitTestCase {
 	 * Test WP_Customize_Manager::save().
 	 *
 	 * @ticket 30937
-	 * @covers WP_Customize_Manager::save()
+	 * @covers WP_Customize_Manager::save
 	 */
 	function test_save_success_publish_create() {
 		$wp_customize = $this->set_up_valid_state();
@@ -299,7 +299,7 @@ class Tests_Ajax_CustomizeManager extends WP_Ajax_UnitTestCase {
 	 * Test WP_Customize_Manager::save().
 	 *
 	 * @ticket 30937
-	 * @covers WP_Customize_Manager::save()
+	 * @covers WP_Customize_Manager::save
 	 */
 	function test_save_success_publish_edit() {
 		$uuid = wp_generate_uuid4();
@@ -338,7 +338,7 @@ class Tests_Ajax_CustomizeManager extends WP_Ajax_UnitTestCase {
 	 * Test WP_Customize_Manager::save().
 	 *
 	 * @ticket 38943
-	 * @covers WP_Customize_Manager::save()
+	 * @covers WP_Customize_Manager::save
 	 */
 	function test_success_save_post_date() {
 		$uuid         = wp_generate_uuid4();
@@ -436,7 +436,7 @@ class Tests_Ajax_CustomizeManager extends WP_Ajax_UnitTestCase {
 	 * Test WP_Customize_Manager::save().
 	 *
 	 * @ticket 39896
-	 * @covers WP_Customize_Manager::save()
+	 * @covers WP_Customize_Manager::save
 	 */
 	public function test_save_autosave() {
 		$uuid = wp_generate_uuid4();
@@ -482,7 +482,7 @@ class Tests_Ajax_CustomizeManager extends WP_Ajax_UnitTestCase {
 	 * Test request for trashing a changeset.
 	 *
 	 * @ticket 39896
-	 * @covers WP_Customize_Manager::handle_changeset_trash_request()
+	 * @covers WP_Customize_Manager::handle_changeset_trash_request
 	 */
 	public function test_handle_changeset_trash_request() {
 		$uuid         = wp_generate_uuid4();
@@ -570,8 +570,8 @@ class Tests_Ajax_CustomizeManager extends WP_Ajax_UnitTestCase {
 	 * Test request for dismissing autosave changesets.
 	 *
 	 * @ticket 39896
-	 * @covers WP_Customize_Manager::handle_dismiss_autosave_or_lock_request()
-	 * @covers WP_Customize_Manager::dismiss_user_auto_draft_changesets()
+	 * @covers WP_Customize_Manager::handle_dismiss_autosave_or_lock_request
+	 * @covers WP_Customize_Manager::dismiss_user_auto_draft_changesets
 	 */
 	public function test_handle_dismiss_autosave_or_lock_request() {
 		$uuid          = wp_generate_uuid4();
diff --git a/tests/phpunit/tests/ajax/CustomizeMenus.php b/tests/phpunit/tests/ajax/CustomizeMenus.php
index 6b16fea75f..09ca59fcc7 100644
--- a/tests/phpunit/tests/ajax/CustomizeMenus.php
+++ b/tests/phpunit/tests/ajax/CustomizeMenus.php
@@ -608,7 +608,7 @@ class Tests_Ajax_CustomizeMenus extends WP_Ajax_UnitTestCase {
 	/**
 	 * Testing successful ajax_insert_auto_draft_post() call.
 	 *
-	 * @covers WP_Customize_Nav_Menus::ajax_insert_auto_draft_post()
+	 * @covers WP_Customize_Nav_Menus::ajax_insert_auto_draft_post
 	 */
 	function test_ajax_insert_auto_draft_post_success() {
 		$_POST                = wp_slash(
@@ -638,7 +638,7 @@ class Tests_Ajax_CustomizeMenus extends WP_Ajax_UnitTestCase {
 	/**
 	 * Testing unsuccessful ajax_insert_auto_draft_post() call.
 	 *
-	 * @covers WP_Customize_Nav_Menus::ajax_insert_auto_draft_post()
+	 * @covers WP_Customize_Nav_Menus::ajax_insert_auto_draft_post
 	 */
 	function test_ajax_insert_auto_draft_failures() {
 		// No nonce.
diff --git a/tests/phpunit/tests/customize/custom-css-setting.php b/tests/phpunit/tests/customize/custom-css-setting.php
index c8ade41de8..f7b68c7af9 100644
--- a/tests/phpunit/tests/customize/custom-css-setting.php
+++ b/tests/phpunit/tests/customize/custom-css-setting.php
@@ -75,7 +75,7 @@ class Test_WP_Customize_Custom_CSS_Setting extends WP_UnitTestCase {
 	 *
 	 * Also checks for the post type and the Setting Type.
 	 *
-	 * @covers WP_Customize_Custom_CSS_Setting::__construct()
+	 * @covers WP_Customize_Custom_CSS_Setting::__construct
 	 */
 	function test_construct() {
 		$this->assertTrue( post_type_exists( 'custom_css' ) );
@@ -106,9 +106,9 @@ class Test_WP_Customize_Custom_CSS_Setting extends WP_UnitTestCase {
 	 * Test crud methods on WP_Customize_Custom_CSS_Setting.
 	 *
 	 * @covers ::wp_get_custom_css
-	 * @covers WP_Customize_Custom_CSS_Setting::value()
-	 * @covers WP_Customize_Custom_CSS_Setting::preview()
-	 * @covers WP_Customize_Custom_CSS_Setting::update()
+	 * @covers WP_Customize_Custom_CSS_Setting::value
+	 * @covers WP_Customize_Custom_CSS_Setting::preview
+	 * @covers WP_Customize_Custom_CSS_Setting::update
 	 */
 	function test_crud() {
 
@@ -266,7 +266,7 @@ class Test_WP_Customize_Custom_CSS_Setting extends WP_UnitTestCase {
 	/**
 	 * Test crud methods on WP_Customize_Custom_CSS_Setting.
 	 *
-	 * @covers WP_Customize_Custom_CSS_Setting::value()
+	 * @covers WP_Customize_Custom_CSS_Setting::value
 	 */
 	function test_value_filter() {
 		add_filter( 'customize_value_custom_css', array( $this, 'filter_value' ), 10, 2 );
@@ -306,7 +306,7 @@ class Test_WP_Customize_Custom_CSS_Setting extends WP_UnitTestCase {
 	/**
 	 * Test update filter on WP_Customize_Custom_CSS_Setting.
 	 *
-	 * @covers WP_Customize_Custom_CSS_Setting::update()
+	 * @covers WP_Customize_Custom_CSS_Setting::update
 	 */
 	function test_update_filter() {
 		$original_css = 'body { color:red; }';
@@ -364,7 +364,7 @@ class Test_WP_Customize_Custom_CSS_Setting extends WP_UnitTestCase {
 	 * Note that the $validity \WP_Error object must be reset each time
 	 * as it picks up the Errors and passes them to the next assertion.
 	 *
-	 * @covers WP_Customize_Custom_CSS_Setting::validate()
+	 * @covers WP_Customize_Custom_CSS_Setting::validate
 	 */
 	function test_validate() {
 
diff --git a/tests/phpunit/tests/customize/manager.php b/tests/phpunit/tests/customize/manager.php
index 4a9d5caead..f965eddd4e 100644
--- a/tests/phpunit/tests/customize/manager.php
+++ b/tests/phpunit/tests/customize/manager.php
@@ -106,7 +106,7 @@ class Tests_WP_Customize_Manager extends WP_UnitTestCase {
 	/**
 	 * Test WP_Customize_Manager::__construct().
 	 *
-	 * @covers WP_Customize_Manager::__construct()
+	 * @covers WP_Customize_Manager::__construct
 	 */
 	function test_constructor() {
 		$uuid              = wp_generate_uuid4();
@@ -151,8 +151,8 @@ class Tests_WP_Customize_Manager extends WP_UnitTestCase {
 	 * Test constructor when deferring UUID.
 	 *
 	 * @ticket 39896
-	 * @covers WP_Customize_Manager::establish_loaded_changeset()
-	 * @covers WP_Customize_Manager::__construct()
+	 * @covers WP_Customize_Manager::establish_loaded_changeset
+	 * @covers WP_Customize_Manager::__construct
 	 */
 	public function test_constructor_deferred_changeset_uuid() {
 		wp_set_current_user( self::$admin_user_id );
@@ -225,7 +225,7 @@ class Tests_WP_Customize_Manager extends WP_UnitTestCase {
 	/**
 	 * Test WP_Customize_Manager::setup_theme() for admin screen.
 	 *
-	 * @covers WP_Customize_Manager::setup_theme()
+	 * @covers WP_Customize_Manager::setup_theme
 	 */
 	function test_setup_theme_in_customize_admin() {
 		global $pagenow, $wp_customize;
@@ -294,7 +294,7 @@ class Tests_WP_Customize_Manager extends WP_UnitTestCase {
 	/**
 	 * Test WP_Customize_Manager::setup_theme() for frontend.
 	 *
-	 * @covers WP_Customize_Manager::setup_theme()
+	 * @covers WP_Customize_Manager::setup_theme
 	 */
 	function test_setup_theme_in_frontend() {
 		global $wp_customize, $pagenow, $show_admin_bar;
@@ -329,7 +329,7 @@ class Tests_WP_Customize_Manager extends WP_UnitTestCase {
 	 * Test WP_Customize_Manager::settings_previewed().
 	 *
 	 * @ticket 39221
-	 * @covers WP_Customize_Manager::settings_previewed()
+	 * @covers WP_Customize_Manager::settings_previewed
 	 */
 	function test_settings_previewed() {
 		$wp_customize = new WP_Customize_Manager( array( 'settings_previewed' => false ) );
@@ -343,7 +343,7 @@ class Tests_WP_Customize_Manager extends WP_UnitTestCase {
 	 * Test WP_Customize_Manager::autosaved().
 	 *
 	 * @ticket 39896
-	 * @covers WP_Customize_Manager::autosaved()
+	 * @covers WP_Customize_Manager::autosaved
 	 */
 	public function test_autosaved() {
 		$wp_customize = new WP_Customize_Manager();
@@ -360,7 +360,7 @@ class Tests_WP_Customize_Manager extends WP_UnitTestCase {
 	 * Test WP_Customize_Manager::branching().
 	 *
 	 * @ticket 39896
-	 * @covers WP_Customize_Manager::branching()
+	 * @covers WP_Customize_Manager::branching
 	 */
 	public function test_branching() {
 		$wp_customize = new WP_Customize_Manager();
@@ -382,7 +382,7 @@ class Tests_WP_Customize_Manager extends WP_UnitTestCase {
 	 * Test WP_Customize_Manager::changeset_uuid().
 	 *
 	 * @ticket 30937
-	 * @covers WP_Customize_Manager::changeset_uuid()
+	 * @covers WP_Customize_Manager::changeset_uuid
 	 */
 	function test_changeset_uuid() {
 		$uuid         = wp_generate_uuid4();
@@ -396,7 +396,7 @@ class Tests_WP_Customize_Manager extends WP_UnitTestCase {
 	 * Ensure that post values are previewed even without being in preview.
 	 *
 	 * @ticket 30937
-	 * @covers WP_Customize_Manager::wp_loaded()
+	 * @covers WP_Customize_Manager::wp_loaded
 	 */
 	function test_wp_loaded() {
 		wp_set_current_user( self::$admin_user_id );
@@ -414,7 +414,7 @@ class Tests_WP_Customize_Manager extends WP_UnitTestCase {
 	 * Test WP_Customize_Manager::find_changeset_post_id().
 	 *
 	 * @ticket 30937
-	 * @covers WP_Customize_Manager::find_changeset_post_id()
+	 * @covers WP_Customize_Manager::find_changeset_post_id
 	 */
 	function test_find_changeset_post_id() {
 		$uuid    = wp_generate_uuid4();
@@ -439,7 +439,7 @@ class Tests_WP_Customize_Manager extends WP_UnitTestCase {
 	 * Test WP_Customize_Manager::changeset_post_id().
 	 *
 	 * @ticket 30937
-	 * @covers WP_Customize_Manager::changeset_post_id()
+	 * @covers WP_Customize_Manager::changeset_post_id
 	 */
 	function test_changeset_post_id() {
 		$uuid         = wp_generate_uuid4();
@@ -463,7 +463,7 @@ class Tests_WP_Customize_Manager extends WP_UnitTestCase {
 	 * Test WP_Customize_Manager::changeset_data().
 	 *
 	 * @ticket 30937
-	 * @covers WP_Customize_Manager::changeset_data()
+	 * @covers WP_Customize_Manager::changeset_data
 	 */
 	function test_changeset_data() {
 		wp_set_current_user( self::$admin_user_id );
@@ -539,8 +539,8 @@ class Tests_WP_Customize_Manager extends WP_UnitTestCase {
 	/**
 	 * Test WP_Customize_Manager::import_theme_starter_content().
 	 *
-	 * @covers WP_Customize_Manager::import_theme_starter_content()
-	 * @covers WP_Customize_Manager::_save_starter_content_changeset()
+	 * @covers WP_Customize_Manager::import_theme_starter_content
+	 * @covers WP_Customize_Manager::_save_starter_content_changeset
 	 */
 	function test_import_theme_starter_content() {
 		wp_set_current_user( self::$admin_user_id );
@@ -808,7 +808,7 @@ class Tests_WP_Customize_Manager extends WP_UnitTestCase {
 	 * Test WP_Customize_Manager::import_theme_starter_content() with nested arrays.
 	 *
 	 * @ticket 45484
-	 * @covers WP_Customize_Manager::import_theme_starter_content()
+	 * @covers WP_Customize_Manager::import_theme_starter_content
 	 */
 	function test_import_theme_starter_content_with_nested_arrays() {
 		wp_set_current_user( self::$admin_user_id );
@@ -882,7 +882,7 @@ class Tests_WP_Customize_Manager extends WP_UnitTestCase {
 	 * Test WP_Customize_Manager::customize_preview_init().
 	 *
 	 * @ticket 30937
-	 * @covers WP_Customize_Manager::customize_preview_init()
+	 * @covers WP_Customize_Manager::customize_preview_init
 	 */
 	function test_customize_preview_init() {
 
@@ -927,7 +927,7 @@ class Tests_WP_Customize_Manager extends WP_UnitTestCase {
 	 *
 	 * @ticket 30937
 	 * @ticket 40020
-	 * @covers WP_Customize_Manager::filter_iframe_security_headers()
+	 * @covers WP_Customize_Manager::filter_iframe_security_headers
 	 */
 	function test_filter_iframe_security_headers() {
 		$wp_customize = new WP_Customize_Manager();
@@ -942,7 +942,7 @@ class Tests_WP_Customize_Manager extends WP_UnitTestCase {
 	 * Test WP_Customize_Manager::add_state_query_params().
 	 *
 	 * @ticket 30937
-	 * @covers WP_Customize_Manager::add_state_query_params()
+	 * @covers WP_Customize_Manager::add_state_query_params
 	 */
 	function test_add_state_query_params() {
 		$preview_theme = $this->get_inactive_core_theme();
@@ -1001,7 +1001,7 @@ class Tests_WP_Customize_Manager extends WP_UnitTestCase {
 	 * Test WP_Customize_Manager::save_changeset_post().
 	 *
 	 * @ticket 30937
-	 * @covers WP_Customize_Manager::save_changeset_post()
+	 * @covers WP_Customize_Manager::save_changeset_post
 	 */
 	function test_save_changeset_post_without_theme_activation() {
 		global $wp_customize;
@@ -1243,7 +1243,7 @@ class Tests_WP_Customize_Manager extends WP_UnitTestCase {
 	/**
 	 * Test saving changeset post without Kses or other content_save_pre filters mutating content.
 	 *
-	 * @covers WP_Customize_Manager::save_changeset_post()
+	 * @covers WP_Customize_Manager::save_changeset_post
 	 */
 	public function test_save_changeset_post_without_kses_corrupting_json() {
 		global $wp_customize;
@@ -1446,8 +1446,8 @@ class Tests_WP_Customize_Manager extends WP_UnitTestCase {
 	 * Test WP_Customize_Manager::save_changeset_post().
 	 *
 	 * @ticket 30937
-	 * @covers WP_Customize_Manager::save_changeset_post()
-	 * @covers WP_Customize_Manager::update_stashed_theme_mod_settings()
+	 * @covers WP_Customize_Manager::save_changeset_post
+	 * @covers WP_Customize_Manager::update_stashed_theme_mod_settings
 	 */
 	function test_save_changeset_post_with_theme_activation() {
 		global $wp_customize;
@@ -1485,7 +1485,7 @@ class Tests_WP_Customize_Manager extends WP_UnitTestCase {
 	 * Test saving changesets with varying users and capabilities.
 	 *
 	 * @ticket 38705
-	 * @covers WP_Customize_Manager::save_changeset_post()
+	 * @covers WP_Customize_Manager::save_changeset_post
 	 */
 	function test_save_changeset_post_with_varying_users() {
 		global $wp_customize;
@@ -1660,7 +1660,7 @@ class Tests_WP_Customize_Manager extends WP_UnitTestCase {
 	 *
 	 * @ticket 31089
 	 * @see wp_delete_auto_drafts()
-	 * @covers WP_Customize_Manager::save_changeset_post()
+	 * @covers WP_Customize_Manager::save_changeset_post
 	 */
 	function test_save_changeset_post_dumping_auto_draft_date() {
 		global $wp_customize;
@@ -1700,7 +1700,7 @@ class Tests_WP_Customize_Manager extends WP_UnitTestCase {
 	 * Test writing changesets when user supplies unchanged values.
 	 *
 	 * @ticket 38865
-	 * @covers WP_Customize_Manager::save_changeset_post()
+	 * @covers WP_Customize_Manager::save_changeset_post
 	 */
 	function test_save_changeset_post_with_unchanged_values() {
 		global $wp_customize;
@@ -1790,8 +1790,8 @@ class Tests_WP_Customize_Manager extends WP_UnitTestCase {
 	 * Test writing changesets when user supplies unchanged values.
 	 *
 	 * @ticket 39896
-	 * @covers WP_Customize_Manager::save_changeset_post()
-	 * @covers WP_Customize_Manager::grant_edit_post_capability_for_changeset()
+	 * @covers WP_Customize_Manager::save_changeset_post
+	 * @covers WP_Customize_Manager::grant_edit_post_capability_for_changeset
 	 */
 	public function test_save_changeset_post_with_autosave() {
 		wp_set_current_user( self::$admin_user_id );
@@ -1900,7 +1900,7 @@ class Tests_WP_Customize_Manager extends WP_UnitTestCase {
 	 * Test passing `null` for a setting ID to remove it from the changeset.
 	 *
 	 * @ticket 41621
-	 * @covers WP_Customize_Manager::save_changeset_post()
+	 * @covers WP_Customize_Manager::save_changeset_post
 	 */
 	function test_remove_setting_from_changeset_post() {
 		$uuid = wp_generate_uuid4();
@@ -1936,7 +1936,7 @@ class Tests_WP_Customize_Manager extends WP_UnitTestCase {
 	 * Test writing changesets and publishing with users who can unfiltered_html and those who cannot.
 	 *
 	 * @ticket 38705
-	 * @covers WP_Customize_Manager::save_changeset_post()
+	 * @covers WP_Customize_Manager::save_changeset_post
 	 */
 	function test_save_changeset_post_with_varying_unfiltered_html_cap() {
 		global $wp_customize;
@@ -2006,7 +2006,7 @@ class Tests_WP_Customize_Manager extends WP_UnitTestCase {
 	 * publishing
 	 *
 	 * @ticket 39221
-	 * @covers ::_wp_customize_publish_changeset()
+	 * @covers ::_wp_customize_publish_changeset
 	 * @see WP_Customize_Widgets::schedule_customize_register()
 	 * @see WP_Customize_Widgets::customize_register()
 	 */
@@ -2192,7 +2192,7 @@ class Tests_WP_Customize_Manager extends WP_UnitTestCase {
 	 * Test WP_Customize_Manager::is_cross_domain().
 	 *
 	 * @ticket 30937
-	 * @covers WP_Customize_Manager::is_cross_domain()
+	 * @covers WP_Customize_Manager::is_cross_domain
 	 */
 	function test_is_cross_domain() {
 		$wp_customize = new WP_Customize_Manager();
@@ -2210,7 +2210,7 @@ class Tests_WP_Customize_Manager extends WP_UnitTestCase {
 	 * Test WP_Customize_Manager::get_allowed_urls().
 	 *
 	 * @ticket 30937
-	 * @covers WP_Customize_Manager::get_allowed_urls()
+	 * @covers WP_Customize_Manager::get_allowed_urls
 	 */
 	function test_get_allowed_urls() {
 		$wp_customize = new WP_Customize_Manager();
@@ -2293,7 +2293,7 @@ class Tests_WP_Customize_Manager extends WP_UnitTestCase {
 	 * Test WP_Customize_Manager::unsanitized_post_values().
 	 *
 	 * @ticket 30937
-	 * @covers WP_Customize_Manager::unsanitized_post_values()
+	 * @covers WP_Customize_Manager::unsanitized_post_values
 	 */
 	function test_unsanitized_post_values_with_changeset_and_stashed_theme_mods() {
 		wp_set_current_user( self::$admin_user_id );
@@ -2607,7 +2607,7 @@ class Tests_WP_Customize_Manager extends WP_UnitTestCase {
 	 * Test WP_Customize_Manager::validate_setting_values().
 	 *
 	 * @ticket 37638
-	 * @covers WP_Customize_Manager::validate_setting_values()
+	 * @covers WP_Customize_Manager::validate_setting_values
 	 */
 	function test_late_validate_setting_values() {
 		$setting = new Test_Setting_Without_Applying_Validate_Filter( $this->manager, 'required' );
@@ -2633,7 +2633,7 @@ class Tests_WP_Customize_Manager extends WP_UnitTestCase {
 	 * Test WP_Customize_Manager::validate_setting_values().
 	 *
 	 * @ticket 30937
-	 * @covers WP_Customize_Manager::validate_setting_values()
+	 * @covers WP_Customize_Manager::validate_setting_values
 	 */
 	function test_validate_setting_values_args() {
 		wp_set_current_user( self::$admin_user_id );
@@ -2814,7 +2814,7 @@ class Tests_WP_Customize_Manager extends WP_UnitTestCase {
 	 * Test WP_Customize_Manager::has_published_pages().
 	 *
 	 * @ticket 38013
-	 * @covers WP_Customize_Manager::has_published_pages()
+	 * @covers WP_Customize_Manager::has_published_pages
 	 */
 	function test_has_published_pages() {
 		foreach ( get_pages() as $page ) {
@@ -2843,7 +2843,7 @@ class Tests_WP_Customize_Manager extends WP_UnitTestCase {
 	 * Ensure that page stubs created via nav menus will cause has_published_pages to return true.
 	 *
 	 * @ticket 38013
-	 * @covers WP_Customize_Manager::has_published_pages()
+	 * @covers WP_Customize_Manager::has_published_pages
 	 */
 	function test_has_published_pages_when_nav_menus_created_posts() {
 		foreach ( get_pages() as $page ) {
@@ -3115,7 +3115,7 @@ class Tests_WP_Customize_Manager extends WP_UnitTestCase {
 	 * Test remove_frameless_preview_messenger_channel.
 	 *
 	 * @ticket 38867
-	 * @covers WP_Customize_Manager::remove_frameless_preview_messenger_channel()
+	 * @covers WP_Customize_Manager::remove_frameless_preview_messenger_channel
 	 */
 	function test_remove_frameless_preview_messenger_channel() {
 		wp_set_current_user( self::$admin_user_id );
diff --git a/tests/phpunit/tests/customize/nav-menu-item-setting.php b/tests/phpunit/tests/customize/nav-menu-item-setting.php
index c80ce613b4..f39eba07af 100644
--- a/tests/phpunit/tests/customize/nav-menu-item-setting.php
+++ b/tests/phpunit/tests/customize/nav-menu-item-setting.php
@@ -944,7 +944,7 @@ class Test_WP_Customize_Nav_Menu_Item_Setting extends WP_UnitTestCase {
 	 * Test WP_Customize_Nav_Menu_Item_Setting::value_as_wp_post_nav_menu_item() to set url for posts, terms, and post type archives.
 	 *
 	 * @ticket 38945
-	 * @covers WP_Customize_Nav_Menu_Item_Setting::value_as_wp_post_nav_menu_item()
+	 * @covers WP_Customize_Nav_Menu_Item_Setting::value_as_wp_post_nav_menu_item
 	 */
 	function test_value_as_wp_post_nav_menu_item_term_urls() {
 		$term_id = self::factory()->term->create( array( 'taxonomy' => 'category' ) );
@@ -1017,7 +1017,7 @@ class Test_WP_Customize_Nav_Menu_Item_Setting extends WP_UnitTestCase {
 	 * Test WP_Customize_Nav_Menu_Item_Setting::value_as_wp_post_nav_menu_item() for obtaining original title.
 	 *
 	 * @ticket 38945
-	 * @covers WP_Customize_Nav_Menu_Item_Setting::get_original_title()
+	 * @covers WP_Customize_Nav_Menu_Item_Setting::get_original_title
 	 */
 	function test_get_original_title() {
 		$menu_id = wp_create_nav_menu( 'Menu' );
diff --git a/tests/phpunit/tests/customize/nav-menus.php b/tests/phpunit/tests/customize/nav-menus.php
index bb82db7e48..4b9b8ca925 100644
--- a/tests/phpunit/tests/customize/nav-menus.php
+++ b/tests/phpunit/tests/customize/nav-menus.php
@@ -661,7 +661,7 @@ class Test_WP_Customize_Nav_Menus extends WP_UnitTestCase {
 	/**
 	 * Test insert_auto_draft_post method.
 	 *
-	 * @covers WP_Customize_Nav_Menus::insert_auto_draft_post()
+	 * @covers WP_Customize_Nav_Menus::insert_auto_draft_post
 	 */
 	public function test_insert_auto_draft_post() {
 		$menus = new WP_Customize_Nav_Menus( $this->wp_customize );
@@ -835,7 +835,7 @@ class Test_WP_Customize_Nav_Menus extends WP_UnitTestCase {
 	/**
 	 * Test make_auto_draft_status_previewable.
 	 *
-	 * @covers WP_Customize_Nav_Menus::make_auto_draft_status_previewable()
+	 * @covers WP_Customize_Nav_Menus::make_auto_draft_status_previewable
 	 */
 	function test_make_auto_draft_status_previewable() {
 		global $wp_post_statuses;
@@ -847,7 +847,7 @@ class Test_WP_Customize_Nav_Menus extends WP_UnitTestCase {
 	/**
 	 * Test sanitize_nav_menus_created_posts.
 	 *
-	 * @covers WP_Customize_Nav_Menus::sanitize_nav_menus_created_posts()
+	 * @covers WP_Customize_Nav_Menus::sanitize_nav_menus_created_posts
 	 */
 	function test_sanitize_nav_menus_created_posts() {
 		$menus                 = new WP_Customize_Nav_Menus( $this->wp_customize );
@@ -921,7 +921,7 @@ class Test_WP_Customize_Nav_Menus extends WP_UnitTestCase {
 	/**
 	 * Test save_nav_menus_created_posts.
 	 *
-	 * @covers WP_Customize_Nav_Menus::save_nav_menus_created_posts()
+	 * @covers WP_Customize_Nav_Menus::save_nav_menus_created_posts
 	 */
 	function test_save_nav_menus_created_posts() {
 		$menus = new WP_Customize_Nav_Menus( $this->wp_customize );
@@ -1114,8 +1114,8 @@ class Test_WP_Customize_Nav_Menus extends WP_UnitTestCase {
 	/**
 	 * Test the filter_wp_nav_menu method.
 	 *
-	 * @covers WP_Customize_Nav_Menus::filter_wp_nav_menu()
-	 * @covers WP_Customize_Nav_Menus::filter_wp_nav_menu_args()
+	 * @covers WP_Customize_Nav_Menus::filter_wp_nav_menu
+	 * @covers WP_Customize_Nav_Menus::filter_wp_nav_menu_args
 	 */
 	function test_filter_wp_nav_menu() {
 		do_action( 'customize_register', $this->wp_customize );
diff --git a/tests/phpunit/tests/dependencies/scripts.php b/tests/phpunit/tests/dependencies/scripts.php
index 20489390d6..a3f9c1e163 100644
--- a/tests/phpunit/tests/dependencies/scripts.php
+++ b/tests/phpunit/tests/dependencies/scripts.php
@@ -1045,7 +1045,7 @@ JS;
 	 * Testing `wp_enqueue_code_editor` with file path.
 	 *
 	 * @ticket 41871
-	 * @covers ::wp_enqueue_code_editor()
+	 * @covers ::wp_enqueue_code_editor
 	 */
 	public function test_wp_enqueue_code_editor_when_php_file_will_be_passed() {
 		$real_file              = WP_PLUGIN_DIR . '/hello.php';
@@ -1132,7 +1132,7 @@ JS;
 	 * Testing `wp_enqueue_code_editor` with `compact`.
 	 *
 	 * @ticket 41871
-	 * @covers ::wp_enqueue_code_editor()
+	 * @covers ::wp_enqueue_code_editor
 	 */
 	public function test_wp_enqueue_code_editor_when_generated_array_by_compact_will_be_passed() {
 		$file                   = '';
@@ -1215,7 +1215,7 @@ JS;
 	 * Testing `wp_enqueue_code_editor` with `array_merge`.
 	 *
 	 * @ticket 41871
-	 * @covers ::wp_enqueue_code_editor()
+	 * @covers ::wp_enqueue_code_editor
 	 */
 	public function test_wp_enqueue_code_editor_when_generated_array_by_array_merge_will_be_passed() {
 		$wp_enqueue_code_editor = wp_enqueue_code_editor(
@@ -1312,7 +1312,7 @@ JS;
 	 * Testing `wp_enqueue_code_editor` with `array`.
 	 *
 	 * @ticket 41871
-	 * @covers ::wp_enqueue_code_editor()
+	 * @covers ::wp_enqueue_code_editor
 	 */
 	public function test_wp_enqueue_code_editor_when_simple_array_will_be_passed() {
 		$wp_enqueue_code_editor = wp_enqueue_code_editor(
diff --git a/tests/phpunit/tests/general/wpError.php b/tests/phpunit/tests/general/wpError.php
index 3fccc470c8..72a575fbf7 100644
--- a/tests/phpunit/tests/general/wpError.php
+++ b/tests/phpunit/tests/general/wpError.php
@@ -100,14 +100,14 @@ class Tests_WP_Error extends WP_UnitTestCase {
 	}
 
 	/**
-	 * @covers ::get_error_codes()
+	 * @covers ::get_error_codes
 	 */
 	public function test_get_error_codes_with_no_errors_should_return_empty_array() {
 		$this->assertEmpty( $this->wp_error->get_error_codes() );
 	}
 
 	/**
-	 * @covers ::get_error_codes()
+	 * @covers ::get_error_codes
 	 */
 	public function test_get_error_codes_with_one_error_should_return_an_array_with_only_that_code() {
 		$this->wp_error->add( 'code', 'message' );
@@ -116,7 +116,7 @@ class Tests_WP_Error extends WP_UnitTestCase {
 	}
 
 	/**
-	 * @covers ::get_error_codes()
+	 * @covers ::get_error_codes
 	 */
 	public function test_get_error_codes_with_multiple_errors_should_return_an_array_of_those_codes() {
 		$this->wp_error->add( 'code', 'message' );
@@ -128,14 +128,14 @@ class Tests_WP_Error extends WP_UnitTestCase {
 	}
 
 	/**
-	 * @covers ::get_error_code()
+	 * @covers ::get_error_code
 	 */
 	public function test_get_error_code_with_no_errors_should_return_an_empty_string() {
 		$this->assertSame( '', $this->wp_error->get_error_code() );
 	}
 
 	/**
-	 * @covers ::get_error_code()
+	 * @covers ::get_error_code
 	 */
 	public function test_get_error_code_with_one_error_should_return_that_error_code() {
 		$this->wp_error->add( 'code', 'message' );
@@ -144,7 +144,7 @@ class Tests_WP_Error extends WP_UnitTestCase {
 	}
 
 	/**
-	 * @covers ::get_error_code()
+	 * @covers ::get_error_code
 	 */
 	public function test_get_error_code_with_multiple_errors_should_return_only_the_first_error_code() {
 		$this->wp_error->add( 'code', 'message' );
@@ -154,14 +154,14 @@ class Tests_WP_Error extends WP_UnitTestCase {
 	}
 
 	/**
-	 * @covers ::get_error_messages()
+	 * @covers ::get_error_messages
 	 */
 	public function test_get_error_messages_with_empty_code_and_no_errors_should_return_an_empty_array() {
 		$this->assertEmpty( $this->wp_error->get_error_messages() );
 	}
 
 	/**
-	 * @covers ::get_error_messages()
+	 * @covers ::get_error_messages
 	 */
 	public function test_get_error_messages_with_empty_code_one_error_should_return_an_array_with_that_message() {
 		$this->wp_error->add( 'code', 'message' );
@@ -170,7 +170,7 @@ class Tests_WP_Error extends WP_UnitTestCase {
 	}
 
 	/**
-	 * @covers ::get_error_messages()
+	 * @covers ::get_error_messages
 	 */
 	public function test_get_error_messages_with_empty_code_multiple_errors_should_return_an_array_of_messages() {
 		$this->wp_error->add( 'code', 'message' );
@@ -180,14 +180,14 @@ class Tests_WP_Error extends WP_UnitTestCase {
 	}
 
 	/**
-	 * @covers ::get_error_messages()
+	 * @covers ::get_error_messages
 	 */
 	public function test_get_error_messages_with_an_invalid_code_should_return_an_empty_array() {
 		$this->assertEmpty( $this->wp_error->get_error_messages( 'code' ) );
 	}
 
 	/**
-	 * @covers ::get_error_messages()
+	 * @covers ::get_error_messages
 	 */
 	public function test_get_error_messages_with_one_error_should_return_an_array_with_that_message() {
 		$this->wp_error->add( 'code', 'message' );
@@ -196,7 +196,7 @@ class Tests_WP_Error extends WP_UnitTestCase {
 	}
 
 	/**
-	 * @covers ::get_error_messages()
+	 * @covers ::get_error_messages
 	 */
 	public function test_get_error_messages_with_multiple_errors_same_code_should_return_an_array_with_all_messages() {
 		$this->wp_error->add( 'code', 'message' );
@@ -206,14 +206,14 @@ class Tests_WP_Error extends WP_UnitTestCase {
 	}
 
 	/**
-	 * @covers ::get_error_message()
+	 * @covers ::get_error_message
 	 */
 	public function test_get_error_message_with_empty_code_and_no_errors_should_return_an_empty_string() {
 		$this->assertSame( '', $this->wp_error->get_error_message() );
 	}
 
 	/**
-	 * @covers ::get_error_message()
+	 * @covers ::get_error_message
 	 */
 	public function test_get_error_message_with_empty_code_and_one_error_should_return_that_message() {
 		$this->wp_error->add( 'code', 'message' );
@@ -222,7 +222,7 @@ class Tests_WP_Error extends WP_UnitTestCase {
 	}
 
 	/**
-	 * @covers ::get_error_message()
+	 * @covers ::get_error_message
 	 */
 	public function test_get_error_message_with_empty_code_and_multiple_errors_should_return_the_first_message() {
 		$this->wp_error->add( 'code', 'message' );
@@ -232,7 +232,7 @@ class Tests_WP_Error extends WP_UnitTestCase {
 	}
 
 	/**
-	 * @covers ::get_error_message()
+	 * @covers ::get_error_message
 	 */
 	public function test_get_error_message_with_empty_code_and_multiple_errors_multiple_codes_should_return_the_first_message() {
 		$this->wp_error->add( 'code', 'message' );
@@ -243,14 +243,14 @@ class Tests_WP_Error extends WP_UnitTestCase {
 	}
 
 	/**
-	 * @covers ::get_error_message()
+	 * @covers ::get_error_message
 	 */
 	public function test_get_error_message_with_invalid_code_and_no_errors_should_return_empty_string() {
 		$this->assertSame( '', $this->wp_error->get_error_message( 'invalid' ) );
 	}
 
 	/**
-	 * @covers ::get_error_message()
+	 * @covers ::get_error_message
 	 */
 	public function test_get_error_message_with_invalid_code_and_one_error_should_return_an_empty_string() {
 		$this->wp_error->add( 'code', 'message' );
@@ -259,7 +259,7 @@ class Tests_WP_Error extends WP_UnitTestCase {
 	}
 
 	/**
-	 * @covers ::get_error_message()
+	 * @covers ::get_error_message
 	 */
 	public function test_get_error_message_with_invalid_code_and_multiple_errors_should_return_an_empty_string() {
 		$this->wp_error->add( 'code', 'message' );
@@ -269,14 +269,14 @@ class Tests_WP_Error extends WP_UnitTestCase {
 	}
 
 	/**
-	 * @covers ::get_error_data()
+	 * @covers ::get_error_data
 	 */
 	public function test_get_error_data_with_empty_code_and_no_errors_should_evaluate_as_null() {
 		$this->assertSame( null, $this->wp_error->get_error_data() );
 	}
 
 	/**
-	 * @covers ::get_error_data()
+	 * @covers ::get_error_data
 	 */
 	public function test_get_error_data_with_empty_code_one_error_no_data_should_evaluate_as_null() {
 		$this->wp_error->add( 'code', 'message' );
@@ -285,7 +285,7 @@ class Tests_WP_Error extends WP_UnitTestCase {
 	}
 
 	/**
-	 * @covers ::get_error_data()
+	 * @covers ::get_error_data
 	 */
 	public function test_get_error_data_with_empty_code_multiple_errors_no_data_should_evaluate_as_null() {
 		$this->wp_error->add( 'code', 'message' );
@@ -295,7 +295,7 @@ class Tests_WP_Error extends WP_UnitTestCase {
 	}
 
 	/**
-	 * @covers ::get_error_data()
+	 * @covers ::get_error_data
 	 */
 	public function test_get_error_data_with_empty_code_and_one_error_with_data_should_return_that_data() {
 		$expected = array( 'data-key' => 'data-value' );
@@ -305,7 +305,7 @@ class Tests_WP_Error extends WP_UnitTestCase {
 	}
 
 	/**
-	 * @covers ::get_error_data()
+	 * @covers ::get_error_data
 	 */
 	public function test_get_error_data_with_empty_code_and_multiple_errors_different_codes_should_return_the_last_data_of_the_first_code() {
 		$expected = array( 'data-key' => 'data-value' );
@@ -316,7 +316,7 @@ class Tests_WP_Error extends WP_UnitTestCase {
 	}
 
 	/**
-	 * @covers ::get_error_data()
+	 * @covers ::get_error_data
 	 */
 	public function test_get_error_data_with_empty_code_and_multiple_errors_same_code_should_return_the_last_data_of_the_first_code() {
 		$this->wp_error->add( 'code', 'message', 'data' );
@@ -327,14 +327,14 @@ class Tests_WP_Error extends WP_UnitTestCase {
 	}
 
 	/**
-	 * @covers ::get_error_data()
+	 * @covers ::get_error_data
 	 */
 	public function test_get_error_data_with_code_and_no_errors_should_evaluate_as_null() {
 		$this->assertSame( null, $this->wp_error->get_error_data( 'code' ) );
 	}
 
 	/**
-	 * @covers ::get_error_data()
+	 * @covers ::get_error_data
 	 */
 	public function test_get_error_data_with_code_and_one_error_with_no_data_should_evaluate_as_null() {
 		$this->wp_error->add( 'code', 'message' );
@@ -343,7 +343,7 @@ class Tests_WP_Error extends WP_UnitTestCase {
 	}
 
 	/**
-	 * @covers ::get_error_data()
+	 * @covers ::get_error_data
 	 */
 	public function test_get_error_data_with_code_and_one_error_with_data_should_return_that_data() {
 		$expected = array( 'data-key' => 'data-value' );
@@ -353,7 +353,7 @@ class Tests_WP_Error extends WP_UnitTestCase {
 	}
 
 	/**
-	 * @covers ::get_error_data()
+	 * @covers ::get_error_data
 	 */
 	public function test_get_error_data_with_code_and_multiple_errors_different_codes_should_return_the_last_stored_data_of_the_code() {
 		$expected = array( 'data3' );
@@ -365,7 +365,7 @@ class Tests_WP_Error extends WP_UnitTestCase {
 	}
 
 	/**
-	 * @covers ::get_error_data()
+	 * @covers ::get_error_data
 	 */
 	public function test_get_error_data_with_code_and_multiple_errors_same_code_should_return_the_last_stored_data() {
 		$this->wp_error->add( 'code', 'message', 'data' );
@@ -376,14 +376,14 @@ class Tests_WP_Error extends WP_UnitTestCase {
 	}
 
 	/**
-	 * @covers ::has_errors()
+	 * @covers ::has_errors
 	 */
 	public function test_has_errors_with_no_errors_returns_false() {
 		$this->assertFalse( $this->wp_error->has_errors() );
 	}
 
 	/**
-	 * @covers ::has_errors()
+	 * @covers ::has_errors
 	 */
 	public function test_has_errors_with_errors_returns_true() {
 		$this->wp_error->add( 'code', 'message', 'data' );
@@ -391,7 +391,7 @@ class Tests_WP_Error extends WP_UnitTestCase {
 	}
 
 	/**
-	 * @covers ::add()
+	 * @covers ::add
 	 */
 	public function test_add_with_empty_code_empty_message_empty_data_should_add_empty_key_to_errors_array() {
 		$this->wp_error->add( '', '', 'data' );
@@ -400,7 +400,7 @@ class Tests_WP_Error extends WP_UnitTestCase {
 	}
 
 	/**
-	 * @covers ::add()
+	 * @covers ::add
 	 */
 	public function test_add_with_empty_code_empty_message_empty_data_should_add_empty_message_to_errors_array_under_empty_key() {
 		$this->wp_error->add( '', '', 'data' );
@@ -409,7 +409,7 @@ class Tests_WP_Error extends WP_UnitTestCase {
 	}
 
 	/**
-	 * @covers ::add()
+	 * @covers ::add
 	 */
 	public function test_add_with_empty_code_empty_message_empty_data_should_not_alter_data() {
 		$this->wp_error->add( '', '', '' );
@@ -418,7 +418,7 @@ class Tests_WP_Error extends WP_UnitTestCase {
 	}
 
 	/**
-	 * @covers ::add()
+	 * @covers ::add
 	 */
 	public function test_add_with_empty_code_empty_message_non_empty_data_should_store_data_under_an_empty_code_key() {
 		$this->wp_error->add( '', '', 'data' );
@@ -427,7 +427,7 @@ class Tests_WP_Error extends WP_UnitTestCase {
 	}
 
 	/**
-	 * @covers ::add()
+	 * @covers ::add
 	 */
 	public function test_add_with_code_empty_message_empty_data_should_add_error_with_code() {
 		$this->wp_error->add( 'code', '' );
@@ -436,7 +436,7 @@ class Tests_WP_Error extends WP_UnitTestCase {
 	}
 
 	/**
-	 * @covers ::add()
+	 * @covers ::add
 	 */
 	public function test_add_with_code_empty_message_empty_data_should_add_error_with_empty_message() {
 		$this->wp_error->add( 'code', '' );
@@ -445,7 +445,7 @@ class Tests_WP_Error extends WP_UnitTestCase {
 	}
 
 	/**
-	 * @covers ::add()
+	 * @covers ::add
 	 */
 	public function test_add_with_code_empty_message_empty_data_should_not_add_error_data() {
 		$this->wp_error->add( 'code', '' );
@@ -454,7 +454,7 @@ class Tests_WP_Error extends WP_UnitTestCase {
 	}
 
 	/**
-	 * @covers ::add()
+	 * @covers ::add
 	 */
 	public function test_add_with_code_and_message_and_empty_data_should_should_add_error_with_that_message() {
 		$this->wp_error->add( 'code', 'message' );
@@ -463,7 +463,7 @@ class Tests_WP_Error extends WP_UnitTestCase {
 	}
 
 	/**
-	 * @covers ::add()
+	 * @covers ::add
 	 */
 	public function test_add_with_code_and_message_and_empty_data_should_not_alter_stored_data() {
 		$this->wp_error->add( 'code', 'message' );
@@ -472,7 +472,7 @@ class Tests_WP_Error extends WP_UnitTestCase {
 	}
 
 	/**
-	 * @covers ::add()
+	 * @covers ::add
 	 */
 	public function test_add_with_code_and_empty_message_and_data_should_add_error_with_that_code() {
 		$this->wp_error->add( 'code', '', 'data' );
@@ -481,7 +481,7 @@ class Tests_WP_Error extends WP_UnitTestCase {
 	}
 
 	/**
-	 * @covers ::add()
+	 * @covers ::add
 	 */
 	public function test_add_with_code_and_empty_message_and_data_should_store_that_data() {
 		$this->wp_error->add( 'code', '', 'data' );
@@ -490,7 +490,7 @@ class Tests_WP_Error extends WP_UnitTestCase {
 	}
 
 	/**
-	 * @covers ::add()
+	 * @covers ::add
 	 */
 	public function test_add_with_code_and_message_and_data_should_add_an_error_with_that_code() {
 		$this->wp_error->add( 'code', 'message', 'data' );
@@ -499,7 +499,7 @@ class Tests_WP_Error extends WP_UnitTestCase {
 	}
 
 	/**
-	 * @covers ::add()
+	 * @covers ::add
 	 */
 	public function test_add_with_code_and_message_and_data_should_add_an_error_with_that_message() {
 		$this->wp_error->add( 'code', 'message', 'data' );
@@ -508,7 +508,7 @@ class Tests_WP_Error extends WP_UnitTestCase {
 	}
 
 	/**
-	 * @covers ::add()
+	 * @covers ::add
 	 */
 	public function test_add_with_code_and_message_and_data_should_store_that_data() {
 		$this->wp_error->add( 'code', 'message', 'data' );
@@ -517,7 +517,7 @@ class Tests_WP_Error extends WP_UnitTestCase {
 	}
 
 	/**
-	 * @covers ::add()
+	 * @covers ::add
 	 */
 	public function test_add_multiple_times_with_the_same_code_should_add_additional_messages_for_that_code() {
 		$this->wp_error->add( 'code', 'message' );
@@ -529,7 +529,7 @@ class Tests_WP_Error extends WP_UnitTestCase {
 	}
 
 	/**
-	 * @covers ::add()
+	 * @covers ::add
 	 */
 	public function test_add_multiple_times_with_the_same_code_and_different_data_should_store_only_the_last_added_data() {
 		$this->wp_error->add( 'code', 'message', 'data-bar' );
@@ -539,7 +539,7 @@ class Tests_WP_Error extends WP_UnitTestCase {
 	}
 
 	/**
-	 * @covers ::add_data()
+	 * @covers ::add_data
 	 */
 	public function test_add_data_with_empty_data_empty_code_should_create_orphaned_data_with_no_error() {
 		$this->wp_error->add_data( '' );
@@ -548,7 +548,7 @@ class Tests_WP_Error extends WP_UnitTestCase {
 	}
 
 	/**
-	 * @covers ::add_data()
+	 * @covers ::add_data
 	 */
 	public function test_add_data_with_empty_data_empty_code_no_errors_should_create_data_under_an_empty_code_key() {
 		$this->wp_error->add_data( '' );
@@ -557,7 +557,7 @@ class Tests_WP_Error extends WP_UnitTestCase {
 	}
 
 	/**
-	 * @covers ::add_data()
+	 * @covers ::add_data
 	 */
 	public function test_add_data_with_data_empty_code_and_one_error_should_store_the_data_under_that_code() {
 		$this->wp_error->add( 'code', 'message' );
@@ -567,7 +567,7 @@ class Tests_WP_Error extends WP_UnitTestCase {
 	}
 
 	/**
-	 * @covers ::add_data()
+	 * @covers ::add_data
 	 */
 	public function test_add_data_with_data_empty_code_and_multiple_errors_with_different_codes_should_store_it_under_the_first_code() {
 		$this->wp_error->add( 'code', 'message' );
@@ -579,7 +579,7 @@ class Tests_WP_Error extends WP_UnitTestCase {
 	}
 
 	/**
-	 * @covers ::add_data()
+	 * @covers ::add_data
 	 */
 	public function test_add_data_with_data_empty_code_and_multiple_errors_with_same_code_should_store_it_under_the_first_code() {
 		$this->wp_error->add( 'code', 'message' );
@@ -592,7 +592,7 @@ class Tests_WP_Error extends WP_UnitTestCase {
 	}
 
 	/**
-	 * @covers ::add_data()
+	 * @covers ::add_data
 	 */
 	public function test_add_data_with_data_and_code_and_no_errors_should_create_orphaned_data_with_no_error() {
 		$this->wp_error->add_data( 'data', 'code' );
@@ -601,7 +601,7 @@ class Tests_WP_Error extends WP_UnitTestCase {
 	}
 
 	/**
-	 * @covers ::add_data()
+	 * @covers ::add_data
 	 */
 	public function test_add_data_with_data_and_code_no_errors_should_create_data_under_that_code_key() {
 		$this->wp_error->add_data( 'data', 'code' );
@@ -610,7 +610,7 @@ class Tests_WP_Error extends WP_UnitTestCase {
 	}
 
 	/**
-	 * @covers ::add_data()
+	 * @covers ::add_data
 	 */
 	public function test_add_data_with_data_and_code_one_error_different_code_should_create_orphaned_data_with_no_error() {
 		$this->wp_error->add( 'code', 'message' );
@@ -621,7 +621,7 @@ class Tests_WP_Error extends WP_UnitTestCase {
 	}
 
 	/**
-	 * @covers ::add_data()
+	 * @covers ::add_data
 	 */
 	public function test_add_data_with_data_and_code_one_error_different_code_should_create_data_under_that_code_key() {
 		$this->wp_error->add( 'code', 'message' );
@@ -632,7 +632,7 @@ class Tests_WP_Error extends WP_UnitTestCase {
 	}
 
 	/**
-	 * @covers ::add_data()
+	 * @covers ::add_data
 	 */
 	public function test_add_data_with_data_and_code_should_add_data() {
 		$this->wp_error->add( 'code', 'message' );
@@ -643,7 +643,7 @@ class Tests_WP_Error extends WP_UnitTestCase {
 	}
 
 	/**
-	 * @covers ::remove()
+	 * @covers ::remove
 	 */
 	public function test_remove_with_no_errors_should_affect_nothing() {
 		$before = $this->wp_error->errors;
@@ -656,7 +656,7 @@ class Tests_WP_Error extends WP_UnitTestCase {
 	}
 
 	/**
-	 * @covers ::remove()
+	 * @covers ::remove
 	 */
 	public function test_remove_empty_code_no_errors_should_affect_nothing() {
 		$before = $this->wp_error->errors;
@@ -669,7 +669,7 @@ class Tests_WP_Error extends WP_UnitTestCase {
 	}
 
 	/**
-	 * @covers ::remove()
+	 * @covers ::remove
 	 */
 	public function test_remove_empty_code_and_one_error_with_empty_string_code_should_remove_error() {
 		$before = $this->wp_error->errors;
@@ -684,7 +684,7 @@ class Tests_WP_Error extends WP_UnitTestCase {
 	}
 
 	/**
-	 * @covers ::remove()
+	 * @covers ::remove
 	 */
 	public function test_remove_empty_code_and_one_error_with_empty_string_code_should_remove_error_data() {
 		$this->wp_error->add( '', 'message', 'data' );
@@ -697,7 +697,7 @@ class Tests_WP_Error extends WP_UnitTestCase {
 	}
 
 	/**
-	 * @covers ::remove()
+	 * @covers ::remove
 	 */
 	public function test_remove_should_remove_the_error_with_the_given_code() {
 		$this->wp_error->add( 'code', 'message' );
@@ -708,7 +708,7 @@ class Tests_WP_Error extends WP_UnitTestCase {
 	}
 
 	/**
-	 * @covers ::remove()
+	 * @covers ::remove
 	 */
 	public function test_remove_should_remove_the_error_data_associated_with_the_given_code() {
 		$this->wp_error->add( 'code', 'message', 'data' );
diff --git a/tests/phpunit/tests/post/nav-menu.php b/tests/phpunit/tests/post/nav-menu.php
index 7ae35e34d9..641b423cc1 100644
--- a/tests/phpunit/tests/post/nav-menu.php
+++ b/tests/phpunit/tests/post/nav-menu.php
@@ -679,7 +679,7 @@ class Test_Nav_Menus extends WP_UnitTestCase {
 	/**
 	 * Test _wp_delete_customize_changeset_dependent_auto_drafts.
 	 *
-	 * @covers ::_wp_delete_customize_changeset_dependent_auto_drafts()
+	 * @covers ::_wp_delete_customize_changeset_dependent_auto_drafts
 	 */
 	function test_wp_delete_customize_changeset_dependent_auto_drafts() {
 		$auto_draft_post_id = $this->factory()->post->create(
diff --git a/tests/phpunit/tests/post/types.php b/tests/phpunit/tests/post/types.php
index dfd5910a2b..4a74cfefbd 100644
--- a/tests/phpunit/tests/post/types.php
+++ b/tests/phpunit/tests/post/types.php
@@ -68,7 +68,7 @@ class Tests_Post_Types extends WP_UnitTestCase {
 
 	/**
 	 * @ticket 35985
-	 * @covers ::register_post_type()
+	 * @covers ::register_post_type
 	 */
 	function test_register_post_type_exclude_from_search_should_default_to_opposite_value_of_public() {
 		/*
@@ -82,7 +82,7 @@ class Tests_Post_Types extends WP_UnitTestCase {
 
 	/**
 	 * @ticket 35985
-	 * @covers ::register_post_type()
+	 * @covers ::register_post_type
 	 */
 	function test_register_post_type_publicly_queryable_should_default_to_value_of_public() {
 		/*
@@ -96,7 +96,7 @@ class Tests_Post_Types extends WP_UnitTestCase {
 
 	/**
 	 * @ticket 35985
-	 * @covers ::register_post_type()
+	 * @covers ::register_post_type
 	 */
 	function test_register_post_type_show_ui_should_default_to_value_of_public() {
 		/*
@@ -110,7 +110,7 @@ class Tests_Post_Types extends WP_UnitTestCase {
 
 	/**
 	 * @ticket 35985
-	 * @covers ::register_post_type()
+	 * @covers ::register_post_type
 	 */
 	function test_register_post_type_show_in_menu_should_default_to_value_of_show_ui() {
 		/*
@@ -129,7 +129,7 @@ class Tests_Post_Types extends WP_UnitTestCase {
 
 	/**
 	 * @ticket 35985
-	 * @covers ::register_post_type()
+	 * @covers ::register_post_type
 	 */
 	function test_register_post_type_show_in_nav_menus_should_default_to_value_of_public() {
 		/*
@@ -143,7 +143,7 @@ class Tests_Post_Types extends WP_UnitTestCase {
 
 	/**
 	 * @ticket 35985
-	 * @covers ::register_post_type()
+	 * @covers ::register_post_type
 	 */
 	function test_register_post_type_show_in_admin_bar_should_default_to_value_of_show_in_menu() {
 		/*
diff --git a/tests/phpunit/tests/rest-api/rest-block-renderer-controller.php b/tests/phpunit/tests/rest-api/rest-block-renderer-controller.php
index 94c7cf8103..8fc64c0f60 100644
--- a/tests/phpunit/tests/rest-api/rest-block-renderer-controller.php
+++ b/tests/phpunit/tests/rest-api/rest-block-renderer-controller.php
@@ -258,7 +258,7 @@ class REST_Block_Renderer_Controller_Test extends WP_Test_REST_Controller_Testca
 	 *
 	 * @ticket 45098
 	 *
-	 * @covers WP_REST_Block_Renderer_Controller::register_routes()
+	 * @covers WP_REST_Block_Renderer_Controller::register_routes
 	 */
 	public function test_register_routes() {
 		$dynamic_block_names = get_dynamic_block_names();
@@ -273,7 +273,7 @@ class REST_Block_Renderer_Controller_Test extends WP_Test_REST_Controller_Testca
 	 *
 	 * @ticket 45098
 	 *
-	 * @covers WP_REST_Block_Renderer_Controller::get_item()
+	 * @covers WP_REST_Block_Renderer_Controller::get_item
 	 */
 	public function test_get_item_without_permissions() {
 		wp_set_current_user( 0 );
@@ -305,7 +305,7 @@ class REST_Block_Renderer_Controller_Test extends WP_Test_REST_Controller_Testca
 	 *
 	 * @ticket 45098
 	 *
-	 * @covers WP_REST_Block_Renderer_Controller::get_item()
+	 * @covers WP_REST_Block_Renderer_Controller::get_item
 	 */
 	public function test_get_item_invalid_block_name() {
 		wp_set_current_user( self::$user_id );
@@ -322,7 +322,7 @@ class REST_Block_Renderer_Controller_Test extends WP_Test_REST_Controller_Testca
 	 *
 	 * @ticket 45098
 	 *
-	 * @covers WP_REST_Block_Renderer_Controller::get_item()
+	 * @covers WP_REST_Block_Renderer_Controller::get_item
 	 */
 	public function test_get_item_invalid_attribute() {
 		wp_set_current_user( self::$user_id );
@@ -343,7 +343,7 @@ class REST_Block_Renderer_Controller_Test extends WP_Test_REST_Controller_Testca
 	 *
 	 * @ticket 45098
 	 *
-	 * @covers WP_REST_Block_Renderer_Controller::get_item()
+	 * @covers WP_REST_Block_Renderer_Controller::get_item
 	 */
 	public function test_get_item_unrecognized_attribute() {
 		wp_set_current_user( self::$user_id );
@@ -364,7 +364,7 @@ class REST_Block_Renderer_Controller_Test extends WP_Test_REST_Controller_Testca
 	 *
 	 * @ticket 45098
 	 *
-	 * @covers WP_REST_Block_Renderer_Controller::get_item()
+	 * @covers WP_REST_Block_Renderer_Controller::get_item
 	 */
 	public function test_get_item_default_attributes() {
 		wp_set_current_user( self::$user_id );
@@ -396,7 +396,7 @@ class REST_Block_Renderer_Controller_Test extends WP_Test_REST_Controller_Testca
 	 *
 	 * @ticket 45098
 	 *
-	 * @covers WP_REST_Block_Renderer_Controller::get_item()
+	 * @covers WP_REST_Block_Renderer_Controller::get_item
 	 */
 	public function test_get_item() {
 		wp_set_current_user( self::$user_id );
@@ -589,7 +589,7 @@ class REST_Block_Renderer_Controller_Test extends WP_Test_REST_Controller_Testca
 	 *
 	 * @ticket 45098
 	 *
-	 * @covers WP_REST_Block_Renderer_Controller::get_item_schema()
+	 * @covers WP_REST_Block_Renderer_Controller::get_item_schema
 	 */
 	public function test_get_item_schema() {
 		$request  = new WP_REST_Request( 'OPTIONS', self::$rest_api_route . self::$block_name );
diff --git a/tests/phpunit/tests/rest-api/rest-posts-controller.php b/tests/phpunit/tests/rest-api/rest-posts-controller.php
index 3c6c668ff0..7bec6cc516 100644
--- a/tests/phpunit/tests/rest-api/rest-posts-controller.php
+++ b/tests/phpunit/tests/rest-api/rest-posts-controller.php
@@ -3537,7 +3537,7 @@ class WP_Test_REST_Posts_Controller extends WP_Test_REST_Post_Type_Controller_Te
 	/**
 	 * Test update_item() with same template that no longer exists.
 	 *
-	 * @covers WP_REST_Posts_Controller::check_template()
+	 * @covers WP_REST_Posts_Controller::check_template
 	 * @ticket 39996
 	 */
 	public function test_update_item_with_same_template_that_no_longer_exists() {
diff --git a/tests/phpunit/tests/theme.php b/tests/phpunit/tests/theme.php
index 3e59c0fa06..b0b0d1b55c 100644
--- a/tests/phpunit/tests/theme.php
+++ b/tests/phpunit/tests/theme.php
@@ -352,7 +352,7 @@ class Tests_Theme extends WP_UnitTestCase {
 	/**
 	 * Test _wp_keep_alive_customize_changeset_dependent_auto_drafts.
 	 *
-	 * @covers ::_wp_keep_alive_customize_changeset_dependent_auto_drafts()
+	 * @covers ::_wp_keep_alive_customize_changeset_dependent_auto_drafts
 	 */
 	function test_wp_keep_alive_customize_changeset_dependent_auto_drafts() {
 		$nav_created_post_ids = $this->factory()->post->create_many(
diff --git a/tests/phpunit/tests/widgets.php b/tests/phpunit/tests/widgets.php
index bc63a81d87..0ccd86e699 100644
--- a/tests/phpunit/tests/widgets.php
+++ b/tests/phpunit/tests/widgets.php
@@ -740,7 +740,7 @@ class Tests_Widgets extends WP_UnitTestCase {
 	/**
 	 * Tests for when 'sidebars_widgets' theme mod is populated.
 	 *
-	 * @covers ::retrieve_widgets()
+	 * @covers ::retrieve_widgets
 	 */
 	function test_retrieve_widgets_with_theme_mod() {
 		global $sidebars_widgets, $_wp_sidebars_widgets;
@@ -804,7 +804,7 @@ class Tests_Widgets extends WP_UnitTestCase {
 	/**
 	 * Tests for when sidebars widgets matches registered sidebars.
 	 *
-	 * @covers ::retrieve_widgets()
+	 * @covers ::retrieve_widgets
 	 */
 	function test_retrieve_widgets_with_sidebars_widgets_matching_registered_sidebars() {
 		global $sidebars_widgets;
@@ -842,7 +842,7 @@ class Tests_Widgets extends WP_UnitTestCase {
 	/**
 	 * Tests for when sidebars widgets doesn't match registered sidebars.
 	 *
-	 * @covers ::retrieve_widgets()
+	 * @covers ::retrieve_widgets
 	 */
 	function test_retrieve_widgets_with_sidebars_widgets_not_matching_registered_sidebars() {
 		global $sidebars_widgets, $_wp_sidebars_widgets;
@@ -936,7 +936,7 @@ class Tests_Widgets extends WP_UnitTestCase {
 	/**
 	 * Tests for Customizer mode.
 	 *
-	 * @covers ::retrieve_widgets()
+	 * @covers ::retrieve_widgets
 	 */
 	function test_retrieve_widgets_for_customizer() {
 		global $sidebars_widgets, $_wp_sidebars_widgets;
@@ -1008,7 +1008,7 @@ class Tests_Widgets extends WP_UnitTestCase {
 	/**
 	 * Tests for orphaned widgets being moved into inactive widgets.
 	 *
-	 * @covers ::retrieve_widgets()
+	 * @covers ::retrieve_widgets
 	 */
 	function test_retrieve_widgets_move_orphaned_widgets_to_inactive() {
 		global $sidebars_widgets;
@@ -1043,7 +1043,7 @@ class Tests_Widgets extends WP_UnitTestCase {
 	/**
 	 * Test _wp_remove_unregistered_widgets.
 	 *
-	 * @covers ::_wp_remove_unregistered_widgets()
+	 * @covers ::_wp_remove_unregistered_widgets
 	 */
 	public function test__wp_remove_unregistered_widgets() {
 		$widgets = array(
@@ -1073,7 +1073,7 @@ class Tests_Widgets extends WP_UnitTestCase {
 	/**
 	 * Two themes with one sidebar each should just map, switching to a theme not previously-active.
 	 *
-	 * @covers ::wp_map_sidebars_widgets()
+	 * @covers ::wp_map_sidebars_widgets
 	 */
 	public function test_one_sidebar_each() {
 		$this->register_sidebars( array( 'primary' ) );
@@ -1093,7 +1093,7 @@ class Tests_Widgets extends WP_UnitTestCase {
 	/**
 	 * Sidebars with the same name should map, switching to a theme not previously-active.
 	 *
-	 * @covers ::wp_map_sidebars_widgets()
+	 * @covers ::wp_map_sidebars_widgets
 	 */
 	public function test_sidebars_with_same_slug() {
 		$this->register_sidebars( array( 'primary', 'secondary' ) );
@@ -1111,7 +1111,7 @@ class Tests_Widgets extends WP_UnitTestCase {
 	/**
 	 * Make educated guesses on theme sidebars.
 	 *
-	 * @covers ::wp_map_sidebars_widgets()
+	 * @covers ::wp_map_sidebars_widgets
 	 */
 	public function test_sidebar_guessing() {
 		$this->register_sidebars( array( 'primary', 'secondary' ) );
@@ -1134,7 +1134,7 @@ class Tests_Widgets extends WP_UnitTestCase {
 	/**
 	 * Make sure two sidebars that fall in the same group don't get the same menu assigned.
 	 *
-	 * @covers ::wp_map_sidebars_widgets()
+	 * @covers ::wp_map_sidebars_widgets
 	 */
 	public function test_sidebar_guessing_one_menu_per_group() {
 		$this->register_sidebars( array( 'primary' ) );
@@ -1155,7 +1155,7 @@ class Tests_Widgets extends WP_UnitTestCase {
 	/**
 	 * Make sure two sidebars that fall in the same group get menus assigned from the same group.
 	 *
-	 * @covers ::wp_map_sidebars_widgets()
+	 * @covers ::wp_map_sidebars_widgets
 	 */
 	public function test_sidebar_guessing_one_menu_per_sidebar() {
 		$this->register_sidebars( array( 'primary', 'main' ) );
diff --git a/tests/phpunit/tests/widgets/media-audio-widget.php b/tests/phpunit/tests/widgets/media-audio-widget.php
index aceba85711..c3e467094e 100644
--- a/tests/phpunit/tests/widgets/media-audio-widget.php
+++ b/tests/phpunit/tests/widgets/media-audio-widget.php
@@ -85,7 +85,7 @@ class Test_WP_Widget_Media_Audio extends WP_UnitTestCase {
 	/**
 	 * Test constructor.
 	 *
-	 * @covers WP_Widget_Media_Audio::__construct()
+	 * @covers WP_Widget_Media_Audio::__construct
 	 */
 	function test_constructor() {
 		$widget = new WP_Widget_Media_Audio();
diff --git a/tests/phpunit/tests/widgets/media-gallery-widget.php b/tests/phpunit/tests/widgets/media-gallery-widget.php
index 509504f3d8..a855e643a2 100644
--- a/tests/phpunit/tests/widgets/media-gallery-widget.php
+++ b/tests/phpunit/tests/widgets/media-gallery-widget.php
@@ -29,7 +29,7 @@ class Test_WP_Widget_Media_Gallery extends WP_UnitTestCase {
 	/**
 	 * Test get_instance_schema method.
 	 *
-	 * @covers WP_Widget_Media_Gallery::get_instance_schema()
+	 * @covers WP_Widget_Media_Gallery::get_instance_schema
 	 */
 	public function test_get_instance_schema() {
 		$widget = new WP_Widget_Media_Gallery();
@@ -51,7 +51,7 @@ class Test_WP_Widget_Media_Gallery extends WP_UnitTestCase {
 	/**
 	 * Test update() method.
 	 *
-	 * @covers WP_Widget_Media_Gallery::render_media()
+	 * @covers WP_Widget_Media_Gallery::render_media
 	 */
 	public function test_render_media() {
 		$widget = new WP_Widget_Media_Gallery();
@@ -89,7 +89,7 @@ class Test_WP_Widget_Media_Gallery extends WP_UnitTestCase {
 	/**
 	 * Test enqueue_admin_scripts() method.
 	 *
-	 * @covers WP_Widget_Media_Gallery::enqueue_admin_scripts()
+	 * @covers WP_Widget_Media_Gallery::enqueue_admin_scripts
 	 */
 	public function test_enqueue_admin_scripts() {
 		set_current_screen( 'widgets.php' );
@@ -108,7 +108,7 @@ class Test_WP_Widget_Media_Gallery extends WP_UnitTestCase {
 	/**
 	 * Test update() method.
 	 *
-	 * @covers WP_Widget_Media_Gallery::update()
+	 * @covers WP_Widget_Media_Gallery::update
 	 */
 	public function test_update() {
 		$widget   = new WP_Widget_Media_Gallery();
@@ -189,7 +189,7 @@ class Test_WP_Widget_Media_Gallery extends WP_UnitTestCase {
 	/**
 	 * Test render_control_template_scripts() method.
 	 *
-	 * @covers WP_Widget_Media_Gallery::render_control_template_scripts()
+	 * @covers WP_Widget_Media_Gallery::render_control_template_scripts
 	 */
 	public function test_render_control_template_scripts() {
 		$widget = new WP_Widget_Media_Gallery();
diff --git a/tests/phpunit/tests/widgets/media-image-widget.php b/tests/phpunit/tests/widgets/media-image-widget.php
index 69006000b5..8367e79898 100644
--- a/tests/phpunit/tests/widgets/media-image-widget.php
+++ b/tests/phpunit/tests/widgets/media-image-widget.php
@@ -92,7 +92,7 @@ class Test_WP_Widget_Media_Image extends WP_UnitTestCase {
 	/**
 	 * Test constructor.
 	 *
-	 * @covers WP_Widget_Media_Image::__construct()
+	 * @covers WP_Widget_Media_Image::__construct
 	 */
 	function test_constructor() {
 		$widget = new WP_Widget_Media_Image();
diff --git a/tests/phpunit/tests/widgets/media-video-widget.php b/tests/phpunit/tests/widgets/media-video-widget.php
index fa37e44c7b..296bb92965 100644
--- a/tests/phpunit/tests/widgets/media-video-widget.php
+++ b/tests/phpunit/tests/widgets/media-video-widget.php
@@ -29,7 +29,7 @@ class Test_WP_Widget_Media_Video extends WP_UnitTestCase {
 	/**
 	 * Test get_instance_schema method.
 	 *
-	 * @covers WP_Widget_Media_Video::get_instance_schema()
+	 * @covers WP_Widget_Media_Video::get_instance_schema
 	 */
 	function test_get_instance_schema() {
 		$widget = new WP_Widget_Media_Video();
@@ -86,7 +86,7 @@ class Test_WP_Widget_Media_Video extends WP_UnitTestCase {
 	/**
 	 * Test constructor.
 	 *
-	 * @covers WP_Widget_Media_Video::__construct()
+	 * @covers WP_Widget_Media_Video::__construct
 	 */
 	function test_constructor() {
 		$widget = new WP_Widget_Media_Video();
@@ -115,7 +115,7 @@ class Test_WP_Widget_Media_Video extends WP_UnitTestCase {
 	/**
 	 * Test get_instance_schema method.
 	 *
-	 * @covers WP_Widget_Media_Video::update()
+	 * @covers WP_Widget_Media_Video::update
 	 */
 	function test_update() {
 		$widget   = new WP_Widget_Media_Video();
@@ -215,8 +215,8 @@ class Test_WP_Widget_Media_Video extends WP_UnitTestCase {
 	/**
 	 * Test render_media method.
 	 *
-	 * @covers WP_Widget_Media_Video::render_media()
-	 * @covers WP_Widget_Media_Video::inject_video_max_width_style()
+	 * @covers WP_Widget_Media_Video::render_media
+	 * @covers WP_Widget_Media_Video::inject_video_max_width_style
 	 */
 	function test_render_media() {
 		$test_movie_file = __FILE__ . '../../data/uploads/small-video.m4v';
@@ -303,7 +303,7 @@ class Test_WP_Widget_Media_Video extends WP_UnitTestCase {
 	 *
 	 * @global WP_Scripts $wp_scripts
 	 * @global WP_Styles $wp_styles
-	 * @covers WP_Widget_Media_Video::enqueue_preview_scripts()
+	 * @covers WP_Widget_Media_Video::enqueue_preview_scripts
 	 */
 	function test_enqueue_preview_scripts() {
 		global $wp_scripts, $wp_styles;
@@ -328,7 +328,7 @@ class Test_WP_Widget_Media_Video extends WP_UnitTestCase {
 	/**
 	 * Test enqueue_admin_scripts method.
 	 *
-	 * @covers WP_Widget_Media_Video::enqueue_admin_scripts()
+	 * @covers WP_Widget_Media_Video::enqueue_admin_scripts
 	 */
 	function test_enqueue_admin_scripts() {
 		set_current_screen( 'widgets.php' );
@@ -341,7 +341,7 @@ class Test_WP_Widget_Media_Video extends WP_UnitTestCase {
 	/**
 	 * Test render_control_template_scripts method.
 	 *
-	 * @covers WP_Widget_Media_Video::render_control_template_scripts()
+	 * @covers WP_Widget_Media_Video::render_control_template_scripts
 	 */
 	function test_render_control_template_scripts() {
 		$widget = new WP_Widget_Media_Video();
diff --git a/tests/phpunit/tests/widgets/media-widget.php b/tests/phpunit/tests/widgets/media-widget.php
index 27a4d5af60..95c34ab5ae 100644
--- a/tests/phpunit/tests/widgets/media-widget.php
+++ b/tests/phpunit/tests/widgets/media-widget.php
@@ -50,8 +50,8 @@ class Test_WP_Widget_Media extends WP_UnitTestCase {
 	/**
 	 * Test constructor.
 	 *
-	 * @covers WP_Widget_Media::__construct()
-	 * @covers WP_Widget_Media::_register()
+	 * @covers WP_Widget_Media::__construct
+	 * @covers WP_Widget_Media::_register
 	 */
 	function test_constructor() {
 		$widget = $this->get_mocked_class_instance();
@@ -106,8 +106,8 @@ class Test_WP_Widget_Media extends WP_UnitTestCase {
 	 * Test constructor in customize preview.
 	 *
 	 * @global WP_Customize_Manager $wp_customize
-	 * @covers WP_Widget_Media::__construct()
-	 * @covers WP_Widget_Media::_register()
+	 * @covers WP_Widget_Media::__construct
+	 * @covers WP_Widget_Media::_register
 	 */
 	function test_constructor_in_customize_preview() {
 		global $wp_customize;
@@ -228,7 +228,7 @@ class Test_WP_Widget_Media extends WP_UnitTestCase {
 	/**
 	 * Test update method.
 	 *
-	 * @covers WP_Widget_Media::update()
+	 * @covers WP_Widget_Media::update
 	 */
 	function test_update() {
 		$widget   = $this->get_mocked_class_instance();
@@ -314,8 +314,8 @@ class Test_WP_Widget_Media extends WP_UnitTestCase {
 	/**
 	 * Test widget method.
 	 *
-	 * @covers WP_Widget_Media::widget()
-	 * @covers WP_Widget_Media::render_media()
+	 * @covers WP_Widget_Media::widget
+	 * @covers WP_Widget_Media::render_media
 	 */
 	function test_widget() {
 		$args     = array(
@@ -389,7 +389,7 @@ class Test_WP_Widget_Media extends WP_UnitTestCase {
 	/**
 	 * Test form method.
 	 *
-	 * @covers WP_Widget_Media::form()
+	 * @covers WP_Widget_Media::form
 	 */
 	function test_form() {
 		$widget = $this->get_mocked_class_instance();
@@ -406,7 +406,7 @@ class Test_WP_Widget_Media extends WP_UnitTestCase {
 	/**
 	 * Test display_media_state method.
 	 *
-	 * @covers WP_Widget_Media::display_media_state()
+	 * @covers WP_Widget_Media::display_media_state
 	 */
 	function test_display_media_state() {
 		$widget        = $this->get_mocked_class_instance();
@@ -448,7 +448,7 @@ class Test_WP_Widget_Media extends WP_UnitTestCase {
 	/**
 	 * Test enqueue_admin_scripts method.
 	 *
-	 * @covers WP_Widget_Media::enqueue_admin_scripts()
+	 * @covers WP_Widget_Media::enqueue_admin_scripts
 	 */
 	function test_enqueue_admin_scripts() {
 		set_current_screen( 'widgets.php' );
@@ -476,7 +476,7 @@ class Test_WP_Widget_Media extends WP_UnitTestCase {
 	/**
 	 * Test has_content method.
 	 *
-	 * @covers WP_Widget_Media::has_content()
+	 * @covers WP_Widget_Media::has_content
 	 */
 	function test_has_content() {
 		$attachment_id = self::factory()->attachment->create_object(
diff --git a/tests/phpunit/tests/widgets/text-widget.php b/tests/phpunit/tests/widgets/text-widget.php
index f4d4c58a4e..caa25e0eb8 100644
--- a/tests/phpunit/tests/widgets/text-widget.php
+++ b/tests/phpunit/tests/widgets/text-widget.php
@@ -75,8 +75,8 @@ class Test_WP_Widget_Text extends WP_UnitTestCase {
 	 * Test register in customize preview.
 	 *
 	 * @global WP_Customize_Manager $wp_customize
-	 * @covers WP_Widget_Text::__construct()
-	 * @covers WP_Widget_Text::_register()
+	 * @covers WP_Widget_Text::__construct
+	 * @covers WP_Widget_Text::_register
 	 */
 	function test__register_in_customize_preview() {
 		global $wp_customize;
-- 
2.28.0.windows.1

