diff --git a/src/wp-admin/includes/class-theme-upgrader.php b/src/wp-admin/includes/class-theme-upgrader.php
index 6bb9ba784a..688f8d612d 100644
--- a/src/wp-admin/includes/class-theme-upgrader.php
+++ b/src/wp-admin/includes/class-theme-upgrader.php
@@ -768,5 +768,4 @@ class Theme_Upgrader extends WP_Upgrader {
return $theme;
}
-
}
diff --git a/src/wp-admin/includes/class-walker-nav-menu-checklist.php b/src/wp-admin/includes/class-walker-nav-menu-checklist.php
index 939d08b420..6fc5c41690 100644
--- a/src/wp-admin/includes/class-walker-nav-menu-checklist.php
+++ b/src/wp-admin/includes/class-walker-nav-menu-checklist.php
@@ -123,5 +123,4 @@ class Walker_Nav_Menu_Checklist extends Walker_Nav_Menu {
$output .= '';
$output .= '';
}
-
}
diff --git a/src/wp-admin/includes/class-walker-nav-menu-edit.php b/src/wp-admin/includes/class-walker-nav-menu-edit.php
index cb585c9b18..5869247d64 100644
--- a/src/wp-admin/includes/class-walker-nav-menu-edit.php
+++ b/src/wp-admin/includes/class-walker-nav-menu-edit.php
@@ -319,5 +319,4 @@ class Walker_Nav_Menu_Edit extends Walker_Nav_Menu {
',
);
-
}
diff --git a/src/wp-content/themes/twentytwenty/classes/class-twentytwenty-customize.php b/src/wp-content/themes/twentytwenty/classes/class-twentytwenty-customize.php
index d4b21ece58..dedcb37882 100644
--- a/src/wp-content/themes/twentytwenty/classes/class-twentytwenty-customize.php
+++ b/src/wp-content/themes/twentytwenty/classes/class-twentytwenty-customize.php
@@ -463,7 +463,6 @@ if ( ! class_exists( 'TwentyTwenty_Customize' ) ) {
public static function sanitize_checkbox( $checked ) {
return ( ( isset( $checked ) && true === $checked ) ? true : false );
}
-
}
// Setup the Theme Customizer settings and controls.
diff --git a/src/wp-content/themes/twentytwenty/classes/class-twentytwenty-script-loader.php b/src/wp-content/themes/twentytwenty/classes/class-twentytwenty-script-loader.php
index 0327420471..f57811614b 100644
--- a/src/wp-content/themes/twentytwenty/classes/class-twentytwenty-script-loader.php
+++ b/src/wp-content/themes/twentytwenty/classes/class-twentytwenty-script-loader.php
@@ -46,6 +46,5 @@ if ( ! class_exists( 'TwentyTwenty_Script_Loader' ) ) {
}
return $tag;
}
-
}
}
diff --git a/src/wp-content/themes/twentytwenty/classes/class-twentytwenty-separator-control.php b/src/wp-content/themes/twentytwenty/classes/class-twentytwenty-separator-control.php
index 270d8e598e..6e988aa124 100644
--- a/src/wp-content/themes/twentytwenty/classes/class-twentytwenty-separator-control.php
+++ b/src/wp-content/themes/twentytwenty/classes/class-twentytwenty-separator-control.php
@@ -24,7 +24,6 @@ if ( class_exists( 'WP_Customize_Control' ) ) {
public function render_content() {
echo '
';
}
-
}
}
}
diff --git a/src/wp-content/themes/twentytwenty/classes/class-twentytwenty-svg-icons.php b/src/wp-content/themes/twentytwenty/classes/class-twentytwenty-svg-icons.php
index 0e576f0af6..6f28dd7dbc 100644
--- a/src/wp-content/themes/twentytwenty/classes/class-twentytwenty-svg-icons.php
+++ b/src/wp-content/themes/twentytwenty/classes/class-twentytwenty-svg-icons.php
@@ -335,6 +335,5 @@ if ( ! class_exists( 'TwentyTwenty_SVG_Icons' ) ) {
'youtube' => '',
);
-
}
}
diff --git a/src/wp-content/themes/twentytwentyone/classes/class-twenty-twenty-one-dark-mode.php b/src/wp-content/themes/twentytwentyone/classes/class-twenty-twenty-one-dark-mode.php
index 27c50cf530..611ce3756f 100644
--- a/src/wp-content/themes/twentytwentyone/classes/class-twenty-twenty-one-dark-mode.php
+++ b/src/wp-content/themes/twentytwentyone/classes/class-twenty-twenty-one-dark-mode.php
@@ -384,5 +384,4 @@ class Twenty_Twenty_One_Dark_Mode {
. __( 'This website uses LocalStorage to save the setting when Dark Mode support is turned on or off.
LocalStorage is necessary for the setting to work and is only used when a user clicks on the Dark Mode button.
No data is saved in the database or transferred.', 'twentytwentyone' );
wp_add_privacy_policy_content( __( 'Twenty Twenty-One', 'twentytwentyone' ), wp_kses_post( wpautop( $content, false ) ) );
}
-
}
diff --git a/src/wp-content/themes/twentytwentyone/classes/class-twenty-twenty-one-svg-icons.php b/src/wp-content/themes/twentytwentyone/classes/class-twenty-twenty-one-svg-icons.php
index d88aabc094..398ef82bbd 100644
--- a/src/wp-content/themes/twentytwentyone/classes/class-twenty-twenty-one-svg-icons.php
+++ b/src/wp-content/themes/twentytwentyone/classes/class-twenty-twenty-one-svg-icons.php
@@ -249,5 +249,4 @@ class Twenty_Twenty_One_SVG_Icons {
}
return null;
}
-
}
diff --git a/src/wp-includes/class-walker-category.php b/src/wp-includes/class-walker-category.php
index 36f631c1b2..24ae740030 100644
--- a/src/wp-includes/class-walker-category.php
+++ b/src/wp-includes/class-walker-category.php
@@ -275,5 +275,4 @@ class Walker_Category extends Walker {
$output .= "\n";
}
-
}
diff --git a/src/wp-includes/class-walker-page.php b/src/wp-includes/class-walker-page.php
index 3ee5bbda61..e26c21d0cb 100644
--- a/src/wp-includes/class-walker-page.php
+++ b/src/wp-includes/class-walker-page.php
@@ -241,5 +241,4 @@ class Walker_Page extends Walker {
}
$output .= "{$n}";
}
-
}
diff --git a/src/wp-includes/class-wp-block-list.php b/src/wp-includes/class-wp-block-list.php
index 9b7caaf01f..2505920755 100644
--- a/src/wp-includes/class-wp-block-list.php
+++ b/src/wp-includes/class-wp-block-list.php
@@ -210,5 +210,4 @@ class WP_Block_List implements Iterator, ArrayAccess, Countable {
public function count() {
return count( $this->blocks );
}
-
}
diff --git a/src/wp-includes/class-wp-block.php b/src/wp-includes/class-wp-block.php
index 890ae5e559..cdbc678f13 100644
--- a/src/wp-includes/class-wp-block.php
+++ b/src/wp-includes/class-wp-block.php
@@ -309,5 +309,4 @@ class WP_Block {
return $block_content;
}
-
}
diff --git a/src/wp-includes/class-wp-customize-control.php b/src/wp-includes/class-wp-customize-control.php
index ab4d2523a0..30e8c2c639 100644
--- a/src/wp-includes/class-wp-customize-control.php
+++ b/src/wp-includes/class-wp-customize-control.php
@@ -701,7 +701,6 @@ class WP_Customize_Control {
* @since 4.1.0
*/
protected function content_template() {}
-
}
/**
diff --git a/src/wp-includes/class-wp-dependencies.php b/src/wp-includes/class-wp-dependencies.php
index 0bc42bb282..e2bbf4ff98 100644
--- a/src/wp-includes/class-wp-dependencies.php
+++ b/src/wp-includes/class-wp-dependencies.php
@@ -490,5 +490,4 @@ class WP_Dependencies {
return true;
}
-
}
diff --git a/src/wp-includes/class-wp-hook.php b/src/wp-includes/class-wp-hook.php
index 795aec4fe1..8a6cdfd09f 100644
--- a/src/wp-includes/class-wp-hook.php
+++ b/src/wp-includes/class-wp-hook.php
@@ -564,5 +564,4 @@ final class WP_Hook implements Iterator, ArrayAccess {
public function rewind() {
reset( $this->callbacks );
}
-
}
diff --git a/src/wp-includes/class-wp-http.php b/src/wp-includes/class-wp-http.php
index 546ba96c1c..bc411179d3 100644
--- a/src/wp-includes/class-wp-http.php
+++ b/src/wp-includes/class-wp-http.php
@@ -1102,5 +1102,4 @@ class WP_Http {
return false;
}
-
}
diff --git a/src/wp-includes/class-wp-image-editor-imagick.php b/src/wp-includes/class-wp-image-editor-imagick.php
index 7229c903b4..03fe0bca69 100644
--- a/src/wp-includes/class-wp-image-editor-imagick.php
+++ b/src/wp-includes/class-wp-image-editor-imagick.php
@@ -1043,5 +1043,4 @@ class WP_Image_Editor_Imagick extends WP_Image_Editor {
return true;
}
-
}
diff --git a/src/wp-includes/class-wp-role.php b/src/wp-includes/class-wp-role.php
index 6f25c3cb03..b9884f2065 100644
--- a/src/wp-includes/class-wp-role.php
+++ b/src/wp-includes/class-wp-role.php
@@ -100,5 +100,4 @@ class WP_Role {
return false;
}
}
-
}
diff --git a/src/wp-includes/class-wp-text-diff-renderer-inline.php b/src/wp-includes/class-wp-text-diff-renderer-inline.php
index 19a00d83c7..f3e4f6b7b0 100644
--- a/src/wp-includes/class-wp-text-diff-renderer-inline.php
+++ b/src/wp-includes/class-wp-text-diff-renderer-inline.php
@@ -30,5 +30,4 @@ class WP_Text_Diff_Renderer_inline extends Text_Diff_Renderer_inline {
$words = str_replace( "\n", $newlineEscape, $words );
return $words;
}
-
}
diff --git a/src/wp-includes/class-wp-theme-json-data.php b/src/wp-includes/class-wp-theme-json-data.php
index 9ffa2f3585..6aa8a3971c 100644
--- a/src/wp-includes/class-wp-theme-json-data.php
+++ b/src/wp-includes/class-wp-theme-json-data.php
@@ -69,5 +69,4 @@ class WP_Theme_JSON_Data {
public function get_data() {
return $this->theme_json->get_raw_data();
}
-
}
diff --git a/src/wp-includes/class-wp-walker.php b/src/wp-includes/class-wp-walker.php
index f7f4715ed1..28cecfe79e 100644
--- a/src/wp-includes/class-wp-walker.php
+++ b/src/wp-includes/class-wp-walker.php
@@ -446,5 +446,4 @@ class Walker {
unset( $children_elements[ $id ] );
}
-
}
diff --git a/src/wp-includes/customize/class-wp-customize-cropped-image-control.php b/src/wp-includes/customize/class-wp-customize-cropped-image-control.php
index c8a55f401c..5f0debba29 100644
--- a/src/wp-includes/customize/class-wp-customize-cropped-image-control.php
+++ b/src/wp-includes/customize/class-wp-customize-cropped-image-control.php
@@ -82,5 +82,4 @@ class WP_Customize_Cropped_Image_Control extends WP_Customize_Image_Control {
$this->json['flex_width'] = absint( $this->flex_width );
$this->json['flex_height'] = absint( $this->flex_height );
}
-
}
diff --git a/src/wp-includes/pomo/streams.php b/src/wp-includes/pomo/streams.php
index 8fa5fc6156..af76c5c5b3 100644
--- a/src/wp-includes/pomo/streams.php
+++ b/src/wp-includes/pomo/streams.php
@@ -299,7 +299,6 @@ if ( ! class_exists( 'POMO_StringReader', false ) ) :
public function read_all() {
return $this->substr( $this->_str, $this->_pos, $this->strlen( $this->_str ) );
}
-
}
endif;
diff --git a/src/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php b/src/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php
index 138440e8c2..bbb02c8765 100644
--- a/src/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php
+++ b/src/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php
@@ -1451,5 +1451,4 @@ class WP_REST_Attachments_Controller extends WP_REST_Posts_Controller {
),
);
}
-
}
diff --git a/src/wp-includes/rest-api/endpoints/class-wp-rest-block-types-controller.php b/src/wp-includes/rest-api/endpoints/class-wp-rest-block-types-controller.php
index 26bd0e0544..fe86ff669d 100644
--- a/src/wp-includes/rest-api/endpoints/class-wp-rest-block-types-controller.php
+++ b/src/wp-includes/rest-api/endpoints/class-wp-rest-block-types-controller.php
@@ -767,5 +767,4 @@ class WP_REST_Block_Types_Controller extends WP_REST_Controller {
),
);
}
-
}
diff --git a/src/wp-includes/rest-api/endpoints/class-wp-rest-blocks-controller.php b/src/wp-includes/rest-api/endpoints/class-wp-rest-blocks-controller.php
index a270e0ff48..305647451b 100644
--- a/src/wp-includes/rest-api/endpoints/class-wp-rest-blocks-controller.php
+++ b/src/wp-includes/rest-api/endpoints/class-wp-rest-blocks-controller.php
@@ -97,5 +97,4 @@ class WP_REST_Blocks_Controller extends WP_REST_Posts_Controller {
return $this->add_additional_fields_schema( $this->schema );
}
-
}
diff --git a/src/wp-includes/rest-api/endpoints/class-wp-rest-post-statuses-controller.php b/src/wp-includes/rest-api/endpoints/class-wp-rest-post-statuses-controller.php
index 4801d7943d..93e466191d 100644
--- a/src/wp-includes/rest-api/endpoints/class-wp-rest-post-statuses-controller.php
+++ b/src/wp-includes/rest-api/endpoints/class-wp-rest-post-statuses-controller.php
@@ -369,5 +369,4 @@ class WP_REST_Post_Statuses_Controller extends WP_REST_Controller {
'context' => $this->get_context_param( array( 'default' => 'view' ) ),
);
}
-
}
diff --git a/src/wp-includes/rest-api/search/class-wp-rest-post-search-handler.php b/src/wp-includes/rest-api/search/class-wp-rest-post-search-handler.php
index 5809245acf..fb85fce2e2 100644
--- a/src/wp-includes/rest-api/search/class-wp-rest-post-search-handler.php
+++ b/src/wp-includes/rest-api/search/class-wp-rest-post-search-handler.php
@@ -202,5 +202,4 @@ class WP_REST_Post_Search_Handler extends WP_REST_Search_Handler {
return rest_get_route_for_post( $post );
}
-
}
diff --git a/src/wp-includes/widgets/class-wp-widget-categories.php b/src/wp-includes/widgets/class-wp-widget-categories.php
index 5961fb19ec..3c009709ba 100644
--- a/src/wp-includes/widgets/class-wp-widget-categories.php
+++ b/src/wp-includes/widgets/class-wp-widget-categories.php
@@ -203,5 +203,4 @@ class WP_Widget_Categories extends WP_Widget {
assertSame( $expected, $this->table->get_views() );
}
-
}
diff --git a/tests/phpunit/tests/admin/wpPostCommentsListTable.php b/tests/phpunit/tests/admin/wpPostCommentsListTable.php
index 126126327f..f69657dd87 100644
--- a/tests/phpunit/tests/admin/wpPostCommentsListTable.php
+++ b/tests/phpunit/tests/admin/wpPostCommentsListTable.php
@@ -35,5 +35,4 @@ class Tests_Admin_wpPostCommentsListTable extends WP_UnitTestCase {
);
$this->assertSame( $expected, $this->table->get_views() );
}
-
}
diff --git a/tests/phpunit/tests/admin/wpPostsListTable.php b/tests/phpunit/tests/admin/wpPostsListTable.php
index 4b2dfe6e0a..9d2482a034 100644
--- a/tests/phpunit/tests/admin/wpPostsListTable.php
+++ b/tests/phpunit/tests/admin/wpPostsListTable.php
@@ -330,5 +330,4 @@ class Tests_Admin_wpPostsListTable extends WP_UnitTestCase {
$this->assertSame( $expected, $actual );
}
-
}
diff --git a/tests/phpunit/tests/attachment/slashes.php b/tests/phpunit/tests/attachment/slashes.php
index b6c009957c..3fb0e58db6 100644
--- a/tests/phpunit/tests/attachment/slashes.php
+++ b/tests/phpunit/tests/attachment/slashes.php
@@ -68,5 +68,4 @@ class Tests_Attachment_Slashes extends WP_UnitTestCase {
$this->assertSame( wp_unslash( self::SLASH_4 ), $post->post_content_filtered );
$this->assertSame( wp_unslash( self::SLASH_6 ), $post->post_excerpt );
}
-
}
diff --git a/tests/phpunit/tests/avatar.php b/tests/phpunit/tests/avatar.php
index 026809b4a1..32ff9ac648 100644
--- a/tests/phpunit/tests/avatar.php
+++ b/tests/phpunit/tests/avatar.php
@@ -279,5 +279,4 @@ class Tests_Avatar extends WP_UnitTestCase {
$this->assertFalse( is_avatar_comment_type( $comment_type ) );
$this->assertFalse( $actual_data['url'] );
}
-
}
diff --git a/tests/phpunit/tests/blocks/context.php b/tests/phpunit/tests/blocks/context.php
index 76603b7b37..68ead5d398 100644
--- a/tests/phpunit/tests/blocks/context.php
+++ b/tests/phpunit/tests/blocks/context.php
@@ -205,5 +205,4 @@ class Tests_Blocks_Context extends WP_UnitTestCase {
$this->assertSame( array( 'example' => 'ok' ), $provided_context[0] );
}
-
}
diff --git a/tests/phpunit/tests/blocks/render.php b/tests/phpunit/tests/blocks/render.php
index 56905956df..632298186e 100644
--- a/tests/phpunit/tests/blocks/render.php
+++ b/tests/phpunit/tests/blocks/render.php
@@ -521,5 +521,4 @@ class Tests_Blocks_Render extends WP_UnitTestCase {
return $content;
}
-
}
diff --git a/tests/phpunit/tests/blocks/serialize.php b/tests/phpunit/tests/blocks/serialize.php
index d8e12f0511..4437c8ca85 100644
--- a/tests/phpunit/tests/blocks/serialize.php
+++ b/tests/phpunit/tests/blocks/serialize.php
@@ -54,5 +54,4 @@ class Tests_Blocks_Serialize extends WP_UnitTestCase {
$this->assertSame( 'example', strip_core_block_namespace( 'core/example' ) );
$this->assertSame( 'plugin/example', strip_core_block_namespace( 'plugin/example' ) );
}
-
}
diff --git a/tests/phpunit/tests/blocks/wpBlockList.php b/tests/phpunit/tests/blocks/wpBlockList.php
index 6dd2979e70..2194bc5a98 100644
--- a/tests/phpunit/tests/blocks/wpBlockList.php
+++ b/tests/phpunit/tests/blocks/wpBlockList.php
@@ -102,5 +102,4 @@ class Tests_Blocks_wpBlockList extends WP_UnitTestCase {
$this->assertCount( 1, $blocks );
}
-
}
diff --git a/tests/phpunit/tests/canonical/https.php b/tests/phpunit/tests/canonical/https.php
index fe6eeaed5e..4b02f08765 100644
--- a/tests/phpunit/tests/canonical/https.php
+++ b/tests/phpunit/tests/canonical/https.php
@@ -65,5 +65,4 @@ class Tests_Canonical_HTTPS extends WP_Canonical_UnitTestCase {
remove_filter( 'home_url', array( $this, 'set_https' ) );
}
-
}
diff --git a/tests/phpunit/tests/canonical/paged.php b/tests/phpunit/tests/canonical/paged.php
index 62786b28f9..d2440ef18b 100644
--- a/tests/phpunit/tests/canonical/paged.php
+++ b/tests/phpunit/tests/canonical/paged.php
@@ -26,5 +26,4 @@ class Tests_Canonical_Paged extends WP_Canonical_UnitTestCase {
// Non-existing page should redirect to the permalink.
$this->assertCanonical( $link . '4/', $link );
}
-
}
diff --git a/tests/phpunit/tests/canonical/robots.php b/tests/phpunit/tests/canonical/robots.php
index c7851a062e..f8034a8a10 100644
--- a/tests/phpunit/tests/canonical/robots.php
+++ b/tests/phpunit/tests/canonical/robots.php
@@ -12,5 +12,4 @@ class Tests_Canonical_Robots extends WP_Canonical_UnitTestCase {
$this->assertCanonical( '/robots.txt', '/robots.txt' );
$this->assertCanonical( '/robots.txt/', '/robots.txt' );
}
-
}
diff --git a/tests/phpunit/tests/comment/commentTime.php b/tests/phpunit/tests/comment/commentTime.php
index fd9e8fe6e0..a155ec158c 100644
--- a/tests/phpunit/tests/comment/commentTime.php
+++ b/tests/phpunit/tests/comment/commentTime.php
@@ -126,5 +126,4 @@ class Tests_Comment_CommentTime extends WP_UnitTestCase {
$this->assertSame( '', $actual );
}
-
}
diff --git a/tests/phpunit/tests/comment/getCommentReplyLink.php b/tests/phpunit/tests/comment/getCommentReplyLink.php
index 0377a5c0f5..7bb4e91551 100644
--- a/tests/phpunit/tests/comment/getCommentReplyLink.php
+++ b/tests/phpunit/tests/comment/getCommentReplyLink.php
@@ -87,5 +87,4 @@ class Tests_Comment_GetCommentReplyLink extends WP_UnitTestCase {
$this->assertNull( $actual );
}
-
}
diff --git a/tests/phpunit/tests/comment/isAvatarCommentType.php b/tests/phpunit/tests/comment/isAvatarCommentType.php
index f45caae93b..aa91a6d6fe 100644
--- a/tests/phpunit/tests/comment/isAvatarCommentType.php
+++ b/tests/phpunit/tests/comment/isAvatarCommentType.php
@@ -72,5 +72,4 @@ class Tests_Comment_IsAvatarCommentType extends WP_UnitTestCase {
$types[] = 'review';
return $types;
}
-
}
diff --git a/tests/phpunit/tests/comment/slashes.php b/tests/phpunit/tests/comment/slashes.php
index e58776d8f8..65c87ad230 100644
--- a/tests/phpunit/tests/comment/slashes.php
+++ b/tests/phpunit/tests/comment/slashes.php
@@ -194,5 +194,4 @@ class Tests_Comment_Slashes extends WP_UnitTestCase {
$this->assertSame( wp_unslash( self::SLASH_2 ), $comment->comment_author );
$this->assertSame( wp_unslash( self::SLASH_4 ), $comment->comment_content );
}
-
}
diff --git a/tests/phpunit/tests/comment/template.php b/tests/phpunit/tests/comment/template.php
index 0632a22863..4e9f82c581 100644
--- a/tests/phpunit/tests/comment/template.php
+++ b/tests/phpunit/tests/comment/template.php
@@ -199,5 +199,4 @@ class Tests_Comment_Template extends WP_UnitTestCase {
),
);
}
-
}
diff --git a/tests/phpunit/tests/cron.php b/tests/phpunit/tests/cron.php
index e5ecee093b..e2799b8fe3 100644
--- a/tests/phpunit/tests/cron.php
+++ b/tests/phpunit/tests/cron.php
@@ -1283,5 +1283,4 @@ class Tests_Cron extends WP_UnitTestCase {
$this->assertWPError( $unscheduled );
$this->assertSame( 'could_not_set', $unscheduled->get_error_code() );
}
-
}
diff --git a/tests/phpunit/tests/customize/manager.php b/tests/phpunit/tests/customize/manager.php
index d42133a1ba..4a64db964d 100644
--- a/tests/phpunit/tests/customize/manager.php
+++ b/tests/phpunit/tests/customize/manager.php
@@ -3669,5 +3669,4 @@ class Test_Setting_Without_Applying_Validate_Filter extends WP_Customize_Setting
}
return true;
}
-
}
diff --git a/tests/phpunit/tests/customize/panel.php b/tests/phpunit/tests/customize/panel.php
index ab7859499e..40f198675a 100644
--- a/tests/phpunit/tests/customize/panel.php
+++ b/tests/phpunit/tests/customize/panel.php
@@ -237,5 +237,4 @@ class Custom_Panel_Test extends WP_Customize_Panel {
posts ? $navs_in_db->posts : array();
}
-
}
diff --git a/tests/phpunit/tests/filesystem/copyDir.php b/tests/phpunit/tests/filesystem/copyDir.php
index 7b03ab88e9..914e2b867c 100644
--- a/tests/phpunit/tests/filesystem/copyDir.php
+++ b/tests/phpunit/tests/filesystem/copyDir.php
@@ -79,5 +79,4 @@ class Tests_Filesystem_CopyDir extends WP_UnitTestCase {
$this->assertDirectoryExists( $to . 'subfolder1/', 'The destination subfolder was not created.' );
$this->assertFileExists( $to . 'subfolder1/file2.txt', 'The destination subfolder file was not created.' );
}
-
}
diff --git a/tests/phpunit/tests/filesystem/findFolder.php b/tests/phpunit/tests/filesystem/findFolder.php
index 3db6107585..5eda573275 100644
--- a/tests/phpunit/tests/filesystem/findFolder.php
+++ b/tests/phpunit/tests/filesystem/findFolder.php
@@ -113,5 +113,4 @@ class WP_Filesystem_Find_Folder_Test extends WP_Filesystem_UnitTestCase {
$path = $fs->find_folder( '/var/www/example.com/sub/wp-content/plugins/' );
$this->assertSame( '/example.com/sub/wp-content/plugins/', $path );
}
-
}
diff --git a/tests/phpunit/tests/filesystem/moveDir.php b/tests/phpunit/tests/filesystem/moveDir.php
index 4cc013453d..d2661fd48d 100644
--- a/tests/phpunit/tests/filesystem/moveDir.php
+++ b/tests/phpunit/tests/filesystem/moveDir.php
@@ -308,5 +308,4 @@ class Tests_Filesystem_MoveDir extends WP_UnitTestCase {
'An unexpected error code was returned.'
);
}
-
}
diff --git a/tests/phpunit/tests/formatting/escUrl.php b/tests/phpunit/tests/formatting/escUrl.php
index dd37c9ec8d..faccb2846a 100644
--- a/tests/phpunit/tests/formatting/escUrl.php
+++ b/tests/phpunit/tests/formatting/escUrl.php
@@ -276,5 +276,4 @@ EOT;
$this->assertSame( '//[::FFFF::127.0.0.1]/?foo%5Bbar%5D=baz', esc_url( '//[::FFFF::127.0.0.1]/?foo[bar]=baz' ) );
$this->assertSame( 'http://[::FFFF::127.0.0.1]/?foo%5Bbar%5D=baz', esc_url( 'http://[::FFFF::127.0.0.1]/?foo[bar]=baz' ) );
}
-
}
diff --git a/tests/phpunit/tests/formatting/makeClickable.php b/tests/phpunit/tests/formatting/makeClickable.php
index 6586896059..8620f1efcb 100644
--- a/tests/phpunit/tests/formatting/makeClickable.php
+++ b/tests/phpunit/tests/formatting/makeClickable.php
@@ -518,5 +518,4 @@ class Tests_Formatting_MakeClickable extends WP_UnitTestCase {
),
);
}
-
}
diff --git a/tests/phpunit/tests/formatting/mapDeep.php b/tests/phpunit/tests/formatting/mapDeep.php
index 0b60ae99bf..0d46ea8523 100644
--- a/tests/phpunit/tests/formatting/mapDeep.php
+++ b/tests/phpunit/tests/formatting/mapDeep.php
@@ -171,5 +171,4 @@ class Tests_Formatting_MapDeep extends WP_UnitTestCase {
public function append_baba( $value ) {
return $value . 'baba';
}
-
}
diff --git a/tests/phpunit/tests/formatting/urlencodeDeep.php b/tests/phpunit/tests/formatting/urlencodeDeep.php
index 632f4083c0..9436ba09af 100644
--- a/tests/phpunit/tests/formatting/urlencodeDeep.php
+++ b/tests/phpunit/tests/formatting/urlencodeDeep.php
@@ -44,5 +44,4 @@ class Tests_Formatting_UrlencodeDeep extends WP_UnitTestCase {
$this->assertSame( $expected, urlencode_deep( $actual ) );
}
-
}
diff --git a/tests/phpunit/tests/formatting/wpMakeLinkRelative.php b/tests/phpunit/tests/formatting/wpMakeLinkRelative.php
index 0b293c9c89..4c21381a42 100644
--- a/tests/phpunit/tests/formatting/wpMakeLinkRelative.php
+++ b/tests/phpunit/tests/formatting/wpMakeLinkRelative.php
@@ -45,5 +45,4 @@ class Tests_Formatting_wpMakeLinkRelative extends WP_UnitTestCase {
$relative_link = wp_make_link_relative( $link );
$this->assertSame( '', $relative_link );
}
-
}
diff --git a/tests/phpunit/tests/formatting/wpSlash.php b/tests/phpunit/tests/formatting/wpSlash.php
index a1ac591c7a..aa0664d791 100644
--- a/tests/phpunit/tests/formatting/wpSlash.php
+++ b/tests/phpunit/tests/formatting/wpSlash.php
@@ -101,5 +101,4 @@ class Tests_Formatting_wpSlash extends WP_UnitTestCase {
$this->assertSame( array( 'a' => $new ), wp_slash( array( 'a' => $old ) ) ); // Keyed array.
$this->assertSame( array( $new ), wp_slash( array( $old ) ) ); // Non-keyed.
}
-
}
diff --git a/tests/phpunit/tests/formatting/wpTargetedLinkRel.php b/tests/phpunit/tests/formatting/wpTargetedLinkRel.php
index 75a247e212..365f42dddb 100644
--- a/tests/phpunit/tests/formatting/wpTargetedLinkRel.php
+++ b/tests/phpunit/tests/formatting/wpTargetedLinkRel.php
@@ -136,5 +136,4 @@ class Tests_Formatting_wpTargetedLinkRel extends WP_UnitTestCase {
$expected = 'Links: No rel
';
$this->assertSame( $expected, wp_targeted_link_rel( $content ) );
}
-
}
diff --git a/tests/phpunit/tests/functions.php b/tests/phpunit/tests/functions.php
index 1451117b91..0a5703d94b 100644
--- a/tests/phpunit/tests/functions.php
+++ b/tests/phpunit/tests/functions.php
@@ -2160,5 +2160,4 @@ class Tests_Functions extends WP_UnitTestCase {
);
$this->assertSameSetsWithIndex( $theme_json, $expected_theme_json );
}
-
}
diff --git a/tests/phpunit/tests/functions/addMagicQuotes.php b/tests/phpunit/tests/functions/addMagicQuotes.php
index f42b601e09..47085efe76 100644
--- a/tests/phpunit/tests/functions/addMagicQuotes.php
+++ b/tests/phpunit/tests/functions/addMagicQuotes.php
@@ -61,5 +61,4 @@ class Tests_Functions_AddMagicQuotes extends WP_UnitTestCase {
),
);
}
-
}
diff --git a/tests/phpunit/tests/functions/anonymization.php b/tests/phpunit/tests/functions/anonymization.php
index a7849ddf46..7a4ff6a26b 100644
--- a/tests/phpunit/tests/functions/anonymization.php
+++ b/tests/phpunit/tests/functions/anonymization.php
@@ -320,5 +320,4 @@ class Tests_Functions_Anonymization extends WP_UnitTestCase {
}
return $anonymous;
}
-
}
diff --git a/tests/phpunit/tests/functions/canonicalCharset.php b/tests/phpunit/tests/functions/canonicalCharset.php
index 973562c6a9..4a11e9c764 100644
--- a/tests/phpunit/tests/functions/canonicalCharset.php
+++ b/tests/phpunit/tests/functions/canonicalCharset.php
@@ -88,5 +88,4 @@ class Tests_Functions_CanonicalCharset extends WP_UnitTestCase {
update_option( 'blog_charset', $orig_blog_charset );
}
-
}
diff --git a/tests/phpunit/tests/functions/doEnclose.php b/tests/phpunit/tests/functions/doEnclose.php
index 5611878bd2..d906ed6f61 100644
--- a/tests/phpunit/tests/functions/doEnclose.php
+++ b/tests/phpunit/tests/functions/doEnclose.php
@@ -289,5 +289,4 @@ class Tests_Functions_DoEnclose extends WP_UnitTestCase {
),
);
}
-
}
diff --git a/tests/phpunit/tests/functions/isNewDay.php b/tests/phpunit/tests/functions/isNewDay.php
index f852c8908f..b1993e09e1 100644
--- a/tests/phpunit/tests/functions/isNewDay.php
+++ b/tests/phpunit/tests/functions/isNewDay.php
@@ -33,5 +33,4 @@ class Tests_Functions_IsNewDate extends WP_UnitTestCase {
array( '21.05.19', false, 1 ),
);
}
-
}
diff --git a/tests/phpunit/tests/functions/wp.php b/tests/phpunit/tests/functions/wp.php
index 04df43b348..14356a4ebc 100644
--- a/tests/phpunit/tests/functions/wp.php
+++ b/tests/phpunit/tests/functions/wp.php
@@ -16,5 +16,4 @@ class Tests_Functions_WP extends WP_UnitTestCase {
$this->assertInstanceOf( 'WP_Query', $wp_query );
$this->assertInstanceOf( 'WP_Query', $wp_the_query );
}
-
}
diff --git a/tests/phpunit/tests/functions/wpFuzzyNumberMatch.php b/tests/phpunit/tests/functions/wpFuzzyNumberMatch.php
index 85034165ce..77a06e2bb7 100644
--- a/tests/phpunit/tests/functions/wpFuzzyNumberMatch.php
+++ b/tests/phpunit/tests/functions/wpFuzzyNumberMatch.php
@@ -108,5 +108,4 @@ class Tests_Functions_wpFuzzyNumberMatch extends WP_UnitTestCase {
),
);
}
-
}
diff --git a/tests/phpunit/tests/functions/wpListUtil.php b/tests/phpunit/tests/functions/wpListUtil.php
index 752ea1382c..dba0a12797 100644
--- a/tests/phpunit/tests/functions/wpListUtil.php
+++ b/tests/phpunit/tests/functions/wpListUtil.php
@@ -1161,5 +1161,4 @@ class Tests_Functions_wpListUtil extends WP_UnitTestCase {
),
);
}
-
}
diff --git a/tests/phpunit/tests/general/wpPreloadResources.php b/tests/phpunit/tests/general/wpPreloadResources.php
index fe2a4e6fa5..8648da8949 100644
--- a/tests/phpunit/tests/general/wpPreloadResources.php
+++ b/tests/phpunit/tests/general/wpPreloadResources.php
@@ -249,5 +249,4 @@ class Tests_General_wpPreloadResources extends WP_UnitTestCase {
),
);
}
-
}
diff --git a/tests/phpunit/tests/hooks/applyFilters.php b/tests/phpunit/tests/hooks/applyFilters.php
index f25bd08582..4c3a594aa9 100644
--- a/tests/phpunit/tests/hooks/applyFilters.php
+++ b/tests/phpunit/tests/hooks/applyFilters.php
@@ -42,5 +42,4 @@ class Tests_Hooks_ApplyFilters extends WP_UnitTestCase {
$this->assertSame( $returned_two, $arg );
$this->assertSame( 2, $a->get_call_count() );
}
-
}
diff --git a/tests/phpunit/tests/http/base.php b/tests/phpunit/tests/http/base.php
index 00abf1655b..976827c4af 100644
--- a/tests/phpunit/tests/http/base.php
+++ b/tests/phpunit/tests/http/base.php
@@ -487,6 +487,4 @@ abstract class WP_HTTP_UnitTestCase extends WP_UnitTestCase {
$this->skipTestOnTimeout( $res );
$this->assertNotWPError( $res );
}
-
-
}
diff --git a/tests/phpunit/tests/image/dimensions.php b/tests/phpunit/tests/image/dimensions.php
index 5820f64ae7..a80c4ece3e 100644
--- a/tests/phpunit/tests/image/dimensions.php
+++ b/tests/phpunit/tests/image/dimensions.php
@@ -181,5 +181,4 @@ class Tests_Image_Dimensions extends WP_UnitTestCase {
// dst_x, dst_y, src_x, src_y, dst_w, dst_h, src_w, src_h.
$this->assertSame( array( 0, 0, 0, 40, 400, 500, 480, 600 ), $out );
}
-
}
diff --git a/tests/phpunit/tests/image/editor.php b/tests/phpunit/tests/image/editor.php
index 6e800deb7a..bd54b803e2 100644
--- a/tests/phpunit/tests/image/editor.php
+++ b/tests/phpunit/tests/image/editor.php
@@ -363,5 +363,4 @@ class Tests_Image_Editor extends WP_Image_UnitTestCase {
),
);
}
-
}
diff --git a/tests/phpunit/tests/image/resizeGd.php b/tests/phpunit/tests/image/resizeGd.php
index 40a3faebfc..a990c0a126 100644
--- a/tests/phpunit/tests/image/resizeGd.php
+++ b/tests/phpunit/tests/image/resizeGd.php
@@ -38,5 +38,4 @@ class Test_Image_Resize_GD extends WP_Tests_Image_Resize_UnitTestCase {
$this->assertInstanceOf( 'WP_Error', $image );
$this->assertSame( 'invalid_image', $image->get_error_code() );
}
-
}
diff --git a/tests/phpunit/tests/image/size.php b/tests/phpunit/tests/image/size.php
index 60819b41b5..c8c6234b23 100644
--- a/tests/phpunit/tests/image/size.php
+++ b/tests/phpunit/tests/image/size.php
@@ -208,5 +208,4 @@ class Tests_Image_Size extends WP_UnitTestCase {
$content_width = $_content_width;
}
-
}
diff --git a/tests/phpunit/tests/link/getNextCommentsLink.php b/tests/phpunit/tests/link/getNextCommentsLink.php
index 459ad9d176..fc18dc3f4c 100644
--- a/tests/phpunit/tests/link/getNextCommentsLink.php
+++ b/tests/phpunit/tests/link/getNextCommentsLink.php
@@ -37,5 +37,4 @@ class Tests_Link_GetNextCommentsLink extends WP_UnitTestCase {
set_query_var( 'cpage', $cpage );
}
-
}
diff --git a/tests/phpunit/tests/link/getPostPermalink.php b/tests/phpunit/tests/link/getPostPermalink.php
index 16d1da0bea..fa36e8bfea 100644
--- a/tests/phpunit/tests/link/getPostPermalink.php
+++ b/tests/phpunit/tests/link/getPostPermalink.php
@@ -14,5 +14,4 @@ class Tests_Link_GetPostPermalink extends WP_UnitTestCase {
public function test_get_post_permalink_should_return_false_for_non_existing_post() {
$this->assertFalse( get_post_permalink( -1 ) );
}
-
}
diff --git a/tests/phpunit/tests/link/getPreviewPostLink.php b/tests/phpunit/tests/link/getPreviewPostLink.php
index a689cb31f3..ce4dcf2c4a 100644
--- a/tests/phpunit/tests/link/getPreviewPostLink.php
+++ b/tests/phpunit/tests/link/getPreviewPostLink.php
@@ -83,5 +83,4 @@ class Tests_Link_GetPreviewPostLink extends WP_UnitTestCase {
$this->assertSame( '', get_preview_post_link( $post ) );
}
-
}
diff --git a/tests/phpunit/tests/link/getPreviousCommentsLink.php b/tests/phpunit/tests/link/getPreviousCommentsLink.php
index cda521a204..596a6eaca0 100644
--- a/tests/phpunit/tests/link/getPreviousCommentsLink.php
+++ b/tests/phpunit/tests/link/getPreviousCommentsLink.php
@@ -35,5 +35,4 @@ class Tests_Link_GetPreviousCommentsLink extends WP_UnitTestCase {
set_query_var( 'cpage', $cpage );
}
-
}
diff --git a/tests/phpunit/tests/link/getThePostsNavigation.php b/tests/phpunit/tests/link/getThePostsNavigation.php
index 83c262d911..d7d3846b9a 100644
--- a/tests/phpunit/tests/link/getThePostsNavigation.php
+++ b/tests/phpunit/tests/link/getThePostsNavigation.php
@@ -104,5 +104,4 @@ class Tests_Link_GetThePostsNavigation extends WP_UnitTestCase {
),
);
}
-
}
diff --git a/tests/phpunit/tests/link/themeFile.php b/tests/phpunit/tests/link/themeFile.php
index f988dc1006..711689c4a4 100644
--- a/tests/phpunit/tests/link/themeFile.php
+++ b/tests/phpunit/tests/link/themeFile.php
@@ -182,5 +182,4 @@ class Tests_Link_ThemeFile extends WP_UnitTestCase {
),
);
}
-
}
diff --git a/tests/phpunit/tests/meta/isProtectedMeta.php b/tests/phpunit/tests/meta/isProtectedMeta.php
index ba3eeed9a2..3216d3a745 100644
--- a/tests/phpunit/tests/meta/isProtectedMeta.php
+++ b/tests/phpunit/tests/meta/isProtectedMeta.php
@@ -51,5 +51,4 @@ class Tests_Meta_isProtectedMeta extends WP_UnitTestCase {
return $unprotected_keys;
}
-
}
diff --git a/tests/phpunit/tests/meta/updateMetadata.php b/tests/phpunit/tests/meta/updateMetadata.php
index 7f5aff32cd..355e53f160 100644
--- a/tests/phpunit/tests/meta/updateMetadata.php
+++ b/tests/phpunit/tests/meta/updateMetadata.php
@@ -105,5 +105,4 @@ class Tests_Meta_UpdateMetadata extends WP_UnitTestCase {
$found = get_metadata( 'post', $post_id, 'key', true );
$this->assertSame( 'value2', $found );
}
-
}
diff --git a/tests/phpunit/tests/multisite/getIdFromBlogname.php b/tests/phpunit/tests/multisite/getIdFromBlogname.php
index 49b4bf6f85..63f8ab79e7 100644
--- a/tests/phpunit/tests/multisite/getIdFromBlogname.php
+++ b/tests/phpunit/tests/multisite/getIdFromBlogname.php
@@ -136,7 +136,6 @@ if ( is_multisite() ) :
$this->assertNull( $result );
}
-
}
endif;
diff --git a/tests/phpunit/tests/multisite/getSite.php b/tests/phpunit/tests/multisite/getSite.php
index 46a5121247..c87f99649c 100644
--- a/tests/phpunit/tests/multisite/getSite.php
+++ b/tests/phpunit/tests/multisite/getSite.php
@@ -47,7 +47,6 @@ if ( is_multisite() ) :
$this->assertSame( self::$site_ids['wordpress.org/foo/'], $site->id );
}
-
}
endif;
diff --git a/tests/phpunit/tests/multisite/updateBlogDetails.php b/tests/phpunit/tests/multisite/updateBlogDetails.php
index d3249a1261..d53c2f8c2b 100644
--- a/tests/phpunit/tests/multisite/updateBlogDetails.php
+++ b/tests/phpunit/tests/multisite/updateBlogDetails.php
@@ -127,6 +127,5 @@ if ( is_multisite() ) :
array( 'multiple///dirs', '/multiple///dirs/' ),
);
}
-
}
endif;
diff --git a/tests/phpunit/tests/option/sanitizeOption.php b/tests/phpunit/tests/option/sanitizeOption.php
index 38fdda1a21..b4f8293041 100644
--- a/tests/phpunit/tests/option/sanitizeOption.php
+++ b/tests/phpunit/tests/option/sanitizeOption.php
@@ -174,5 +174,4 @@ class Tests_Option_SanitizeOption extends WP_UnitTestCase {
array( new WP_Error( 'wpdb_get_table_charset_failure' ), false, false ), // @ticket 53986
);
}
-
}
diff --git a/tests/phpunit/tests/option/themeMods.php b/tests/phpunit/tests/option/themeMods.php
index b062554a2c..379d7887f6 100644
--- a/tests/phpunit/tests/option/themeMods.php
+++ b/tests/phpunit/tests/option/themeMods.php
@@ -129,5 +129,4 @@ class Tests_Option_ThemeMods extends WP_UnitTestCase {
),
);
}
-
}
diff --git a/tests/phpunit/tests/post/getBodyClass.php b/tests/phpunit/tests/post/getBodyClass.php
index 2872218afb..25810e6075 100644
--- a/tests/phpunit/tests/post/getBodyClass.php
+++ b/tests/phpunit/tests/post/getBodyClass.php
@@ -257,5 +257,4 @@ class Tests_Post_GetBodyClass extends WP_UnitTestCase {
$this->assertContains( 'page', $class );
$this->assertContains( "page-id-{$page_id}", $class );
}
-
}
diff --git a/tests/phpunit/tests/post/getPageByTitle.php b/tests/phpunit/tests/post/getPageByTitle.php
index a85d8f42c5..084453cbb0 100644
--- a/tests/phpunit/tests/post/getPageByTitle.php
+++ b/tests/phpunit/tests/post/getPageByTitle.php
@@ -17,5 +17,4 @@ class Tests_Post_GetPageByTitle extends WP_UnitTestCase {
public function test_get_page_by_title_should_be_deprecated() {
$this->assertNull( get_page_by_title( '#57041 Page' ) );
}
-
}
diff --git a/tests/phpunit/tests/privacy/wpPrivacySendRequestConfirmationNotification.php b/tests/phpunit/tests/privacy/wpPrivacySendRequestConfirmationNotification.php
index 5374cd5701..951039cb08 100644
--- a/tests/phpunit/tests/privacy/wpPrivacySendRequestConfirmationNotification.php
+++ b/tests/phpunit/tests/privacy/wpPrivacySendRequestConfirmationNotification.php
@@ -240,5 +240,4 @@ class Tests_Privacy_wpPrivacySendRequestConfirmationNotification extends WP_Unit
return $headers;
}
-
}
diff --git a/tests/phpunit/tests/query/conditionals.php b/tests/phpunit/tests/query/conditionals.php
index c447c638d6..b365a1207f 100644
--- a/tests/phpunit/tests/query/conditionals.php
+++ b/tests/phpunit/tests/query/conditionals.php
@@ -1692,5 +1692,4 @@ class Tests_Query_Conditionals extends WP_UnitTestCase {
array( 'the_comment', null ),
);
}
-
}
diff --git a/tests/phpunit/tests/query/searchColumns.php b/tests/phpunit/tests/query/searchColumns.php
index 463bef8107..9ef30c2113 100644
--- a/tests/phpunit/tests/query/searchColumns.php
+++ b/tests/phpunit/tests/query/searchColumns.php
@@ -410,5 +410,4 @@ class Tests_Query_SearchColumns extends WP_UnitTestCase {
$search_columns = array( 'post_non_existing_column' );
return $search_columns;
}
-
}
diff --git a/tests/phpunit/tests/query/vars.php b/tests/phpunit/tests/query/vars.php
index 4b4b96561b..87e7fa7bb7 100644
--- a/tests/phpunit/tests/query/vars.php
+++ b/tests/phpunit/tests/query/vars.php
@@ -80,5 +80,4 @@ class Tests_Query_Vars extends WP_UnitTestCase {
'Care should be taken when introducing new public query vars. See https://core.trac.wordpress.org/ticket/35115'
);
}
-
}
diff --git a/tests/phpunit/tests/rest-api/rest-pages-controller.php b/tests/phpunit/tests/rest-api/rest-pages-controller.php
index 9900c5a003..75c005b275 100644
--- a/tests/phpunit/tests/rest-api/rest-pages-controller.php
+++ b/tests/phpunit/tests/rest-api/rest-pages-controller.php
@@ -787,5 +787,4 @@ class WP_Test_REST_Pages_Controller extends WP_Test_REST_Post_Type_Controller_Te
$args['type'] = 'page';
return $args;
}
-
}
diff --git a/tests/phpunit/tests/rest-api/rest-post-statuses-controller.php b/tests/phpunit/tests/rest-api/rest-post-statuses-controller.php
index 366e596459..f6bb1d795a 100644
--- a/tests/phpunit/tests/rest-api/rest-post-statuses-controller.php
+++ b/tests/phpunit/tests/rest-api/rest-post-statuses-controller.php
@@ -225,5 +225,4 @@ class WP_Test_REST_Post_Statuses_Controller extends WP_Test_REST_Controller_Test
$obj = get_post_status_object( 'publish' );
$this->check_post_status_obj( $obj, $data, $response->get_links() );
}
-
}
diff --git a/tests/phpunit/tests/rest-api/rest-post-types-controller.php b/tests/phpunit/tests/rest-api/rest-post-types-controller.php
index 1c2a0b53b4..d881b9c8a0 100644
--- a/tests/phpunit/tests/rest-api/rest-post-types-controller.php
+++ b/tests/phpunit/tests/rest-api/rest-post-types-controller.php
@@ -263,5 +263,4 @@ class WP_Test_REST_Post_Types_Controller extends WP_Test_REST_Controller_Testcas
$obj = get_post_type_object( $post_type );
$this->check_post_type_obj( $context, $obj, $data, $response->get_links() );
}
-
}
diff --git a/tests/phpunit/tests/rest-api/rest-request-validation.php b/tests/phpunit/tests/rest-api/rest-request-validation.php
index 4444fb6065..3d81536099 100644
--- a/tests/phpunit/tests/rest-api/rest-request-validation.php
+++ b/tests/phpunit/tests/rest-api/rest-request-validation.php
@@ -202,5 +202,4 @@ class WP_Test_REST_Request_Validation extends WP_Test_REST_TestCase {
$ret = rest_validate_request_arg( 9, $request, 'lessthanmax' );
$this->assertTrue( $ret );
}
-
}
diff --git a/tests/phpunit/tests/rest-api/rest-search-controller.php b/tests/phpunit/tests/rest-api/rest-search-controller.php
index 2e39d385d9..7345d45f86 100644
--- a/tests/phpunit/tests/rest-api/rest-search-controller.php
+++ b/tests/phpunit/tests/rest-api/rest-search-controller.php
@@ -888,5 +888,4 @@ class WP_Test_REST_Search_Controller extends WP_Test_REST_Controller_Testcase {
wp_list_pluck( $response->get_data(), 'id' )
);
}
-
}
diff --git a/tests/phpunit/tests/rest-api/rest-taxonomies-controller.php b/tests/phpunit/tests/rest-api/rest-taxonomies-controller.php
index 6da465be25..264e9cf8c2 100644
--- a/tests/phpunit/tests/rest-api/rest-taxonomies-controller.php
+++ b/tests/phpunit/tests/rest-api/rest-taxonomies-controller.php
@@ -316,5 +316,4 @@ class WP_Test_REST_Taxonomies_Controller extends WP_Test_REST_Controller_Testcas
get_taxonomy( 'test' )->get_rest_controller()
);
}
-
}
diff --git a/tests/phpunit/tests/rest-api/rest-test-controller.php b/tests/phpunit/tests/rest-api/rest-test-controller.php
index 042f37cf8b..48b326407d 100644
--- a/tests/phpunit/tests/rest-api/rest-test-controller.php
+++ b/tests/phpunit/tests/rest-api/rest-test-controller.php
@@ -180,5 +180,4 @@ class WP_REST_Test_Controller extends WP_REST_Controller {
return $this->add_additional_fields_schema( $schema );
}
-
}
diff --git a/tests/phpunit/tests/rewrite/addRewriteEndpoint.php b/tests/phpunit/tests/rewrite/addRewriteEndpoint.php
index 0c4c7a332d..7b3ada5feb 100644
--- a/tests/phpunit/tests/rewrite/addRewriteEndpoint.php
+++ b/tests/phpunit/tests/rewrite/addRewriteEndpoint.php
@@ -108,5 +108,4 @@ class Tests_Rewrite_AddRewriteEndpoint extends WP_UnitTestCase {
$this->assertTrue( is_404() );
$this->assertSame( '', get_query_var( 'page_endpoint' ) );
}
-
}
diff --git a/tests/phpunit/tests/template.php b/tests/phpunit/tests/template.php
index c79082dff3..3ae0bf31b8 100644
--- a/tests/phpunit/tests/template.php
+++ b/tests/phpunit/tests/template.php
@@ -678,5 +678,4 @@ class Tests_Template extends WP_UnitTestCase {
$this->hierarchy = array_merge( $this->hierarchy, $hierarchy );
return $hierarchy;
}
-
}
diff --git a/tests/phpunit/tests/term/wpUpdateTerm.php b/tests/phpunit/tests/term/wpUpdateTerm.php
index 32d93258da..cbbd5780d6 100644
--- a/tests/phpunit/tests/term/wpUpdateTerm.php
+++ b/tests/phpunit/tests/term/wpUpdateTerm.php
@@ -802,5 +802,4 @@ class Tests_Term_WpUpdateTerm extends WP_UnitTestCase {
$this->assertWPError( $found );
$this->assertSame( 'invalid_term', $found->get_error_code() );
}
-
}
diff --git a/tests/phpunit/tests/theme/wpThemeJson.php b/tests/phpunit/tests/theme/wpThemeJson.php
index a2c6e1e9f7..698880eab1 100644
--- a/tests/phpunit/tests/theme/wpThemeJson.php
+++ b/tests/phpunit/tests/theme/wpThemeJson.php
@@ -4917,5 +4917,4 @@ class Tests_Theme_wpThemeJson extends WP_UnitTestCase {
$this->assertEquals( $small_font, $styles['blocks']['core/quote']['variations']['plain']['typography']['fontSize'], 'Block variations: font-size' );
$this->assertEquals( $secondary_color, $styles['blocks']['core/quote']['variations']['plain']['color']['background'], 'Block variations: color' );
}
-
}
diff --git a/tests/phpunit/tests/upload.php b/tests/phpunit/tests/upload.php
index 4640439313..46fcea7099 100644
--- a/tests/phpunit/tests/upload.php
+++ b/tests/phpunit/tests/upload.php
@@ -105,5 +105,4 @@ class Tests_Upload extends WP_UnitTestCase {
$this->assertSame( $subdir, $info['subdir'] );
$this->assertFalse( $info['error'] );
}
-
}
diff --git a/tests/phpunit/tests/user/countUsers.php b/tests/phpunit/tests/user/countUsers.php
index b09cd85784..db31ddab75 100644
--- a/tests/phpunit/tests/user/countUsers.php
+++ b/tests/phpunit/tests/user/countUsers.php
@@ -291,5 +291,4 @@ class Tests_User_CountUsers extends WP_UnitTestCase {
),
);
}
-
}
diff --git a/tests/phpunit/tests/user/multisite.php b/tests/phpunit/tests/user/multisite.php
index e3173db43e..08d08bbe75 100644
--- a/tests/phpunit/tests/user/multisite.php
+++ b/tests/phpunit/tests/user/multisite.php
@@ -448,7 +448,6 @@ if ( is_multisite() ) :
$wp_roles->remove_role( $role );
}
-
}
endif;
diff --git a/tests/phpunit/tests/user/passwordHash.php b/tests/phpunit/tests/user/passwordHash.php
index 1179ba25b2..db34969c71 100644
--- a/tests/phpunit/tests/user/passwordHash.php
+++ b/tests/phpunit/tests/user/passwordHash.php
@@ -30,5 +30,4 @@ class Tests_User_PasswordHash extends WP_UnitTestCase {
$hasher = new PasswordHash( 8, true );
$hasher->gensalt_blowfish( 'a password string' );
}
-
}
diff --git a/tests/phpunit/tests/user/slashes.php b/tests/phpunit/tests/user/slashes.php
index 40eb2b176b..e8c414ddec 100644
--- a/tests/phpunit/tests/user/slashes.php
+++ b/tests/phpunit/tests/user/slashes.php
@@ -230,5 +230,4 @@ class Tests_User_Slashes extends WP_UnitTestCase {
$this->assertSame( wp_unslash( self::SLASH_2 ), $user->display_name );
$this->assertSame( wp_unslash( self::SLASH_4 ), $user->description );
}
-
}
diff --git a/tests/phpunit/tests/user/wpGetUsersWithNoRole.php b/tests/phpunit/tests/user/wpGetUsersWithNoRole.php
index f853e0e78b..d5710aeddf 100644
--- a/tests/phpunit/tests/user/wpGetUsersWithNoRole.php
+++ b/tests/phpunit/tests/user/wpGetUsersWithNoRole.php
@@ -149,5 +149,4 @@ class Tests_User_wpGetUsersWithNoRole extends WP_UnitTestCase {
$this->assertEmpty( $users );
}
-
}
diff --git a/tests/phpunit/tests/user/wpRegisterPersistedPreferencesMeta.php b/tests/phpunit/tests/user/wpRegisterPersistedPreferencesMeta.php
index c3c4bd7a09..9c4725ffbf 100644
--- a/tests/phpunit/tests/user/wpRegisterPersistedPreferencesMeta.php
+++ b/tests/phpunit/tests/user/wpRegisterPersistedPreferencesMeta.php
@@ -57,5 +57,4 @@ class Tests_User_WpRegisterPersistedPreferencesMeta extends WP_UnitTestCase {
'The registered metadata did not have the expected structure'
);
}
-
}
diff --git a/tests/phpunit/tests/walker.php b/tests/phpunit/tests/walker.php
index e2e9e1aba2..31e45963bb 100644
--- a/tests/phpunit/tests/walker.php
+++ b/tests/phpunit/tests/walker.php
@@ -314,7 +314,6 @@ class Tests_Walker extends WP_UnitTestCase {
$this->assertSame( '2', $output );
}
-
}
class Walker_Test extends Walker {
@@ -340,5 +339,4 @@ class Walker_Test extends Walker {
public function end_el( &$output, $page, $depth = 0, $args = array() ) {
$output .= '';
}
-
}
diff --git a/tests/phpunit/tests/widgets/wpWidgetCustomHtml.php b/tests/phpunit/tests/widgets/wpWidgetCustomHtml.php
index c7dc3c3c7d..f1d1f45a06 100644
--- a/tests/phpunit/tests/widgets/wpWidgetCustomHtml.php
+++ b/tests/phpunit/tests/widgets/wpWidgetCustomHtml.php
@@ -353,5 +353,4 @@ class Tests_Widgets_wpWidgetCustomHtml extends WP_UnitTestCase {
$output = get_echo( array( $widget, 'widget' ), array( $args, $instance ) );
$this->assertStringNotContainsString( 'rel="noopener"', $output );
}
-
}
diff --git a/tests/phpunit/tests/xmlrpc/message.php b/tests/phpunit/tests/xmlrpc/message.php
index ac68552902..b316567f32 100644
--- a/tests/phpunit/tests/xmlrpc/message.php
+++ b/tests/phpunit/tests/xmlrpc/message.php
@@ -30,5 +30,4 @@ class Tests_XMLRPC_Message extends WP_UnitTestCase {
$this->assertSame( 'methodResponse', $message->messageType ); // phpcs:ignore WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase
$this->assertSame( array( '1' ), $message->params );
}
-
}
diff --git a/tests/phpunit/tests/xmlrpc/wp/getPages.php b/tests/phpunit/tests/xmlrpc/wp/getPages.php
index 9615c5a30d..eb99caf5c1 100644
--- a/tests/phpunit/tests/xmlrpc/wp/getPages.php
+++ b/tests/phpunit/tests/xmlrpc/wp/getPages.php
@@ -87,5 +87,4 @@ class Tests_XMLRPC_wp_getPages extends WP_XMLRPC_UnitTestCase {
remove_filter( 'map_meta_cap', array( $this, 'remove_editor_edit_page_cap' ), 10, 4 );
}
-
}
diff --git a/tests/phpunit/tests/xmlrpc/wp/getPosts.php b/tests/phpunit/tests/xmlrpc/wp/getPosts.php
index b019c2bb26..814f0c1018 100644
--- a/tests/phpunit/tests/xmlrpc/wp/getPosts.php
+++ b/tests/phpunit/tests/xmlrpc/wp/getPosts.php
@@ -167,5 +167,4 @@ class Tests_XMLRPC_wp_getPosts extends WP_XMLRPC_UnitTestCase {
$this->assertNotIXRError( $results );
$this->assertCount( 1, $results );
}
-
}
diff --git a/tests/phpunit/tests/xmlrpc/wp/getRevisions.php b/tests/phpunit/tests/xmlrpc/wp/getRevisions.php
index b7a4667165..893a7a06da 100644
--- a/tests/phpunit/tests/xmlrpc/wp/getRevisions.php
+++ b/tests/phpunit/tests/xmlrpc/wp/getRevisions.php
@@ -77,5 +77,4 @@ class Tests_XMLRPC_wp_getRevisions extends WP_XMLRPC_UnitTestCase {
$result = $this->myxmlrpcserver->wp_getRevisions( array( 1, 'editor', 'editor', $post_id ) );
$this->assertCount( 1, $result );
}
-
}
diff --git a/tests/phpunit/tests/xmlrpc/wp/newPost.php b/tests/phpunit/tests/xmlrpc/wp/newPost.php
index c9b160cf19..91e256ff5c 100644
--- a/tests/phpunit/tests/xmlrpc/wp/newPost.php
+++ b/tests/phpunit/tests/xmlrpc/wp/newPost.php
@@ -445,5 +445,4 @@ class Tests_XMLRPC_wp_newPost extends WP_XMLRPC_UnitTestCase {
$this->assertStringMatchesFormat( '%d', $result );
$this->assertSame( $date_string, $fetched_post->post_date_gmt );
}
-
}