diff --git a/src/wp-admin/media-upload.php b/src/wp-admin/media-upload.php index 7f943a829f..015bc9d63d 100644 --- a/src/wp-admin/media-upload.php +++ b/src/wp-admin/media-upload.php @@ -116,4 +116,3 @@ if ( 'type' === $tab || 'type_url' === $tab || ! array_key_exists( $tab, media_u */ do_action( "media_upload_{$tab}" ); } - diff --git a/src/wp-content/themes/twentytwentytwo/index.php b/src/wp-content/themes/twentytwentytwo/index.php index 27dc7057dc..877d8c3f1e 100644 --- a/src/wp-content/themes/twentytwentytwo/index.php +++ b/src/wp-content/themes/twentytwentytwo/index.php @@ -2,4 +2,3 @@ // There is nothing output here because block themes do not use php templates. // There is a core ticket discussing removing this requirement for block themes: // https://core.trac.wordpress.org/ticket/54272. - diff --git a/src/wp-includes/class-wp-image-editor.php b/src/wp-includes/class-wp-image-editor.php index bb15a03a07..3c636dc6ba 100644 --- a/src/wp-includes/class-wp-image-editor.php +++ b/src/wp-includes/class-wp-image-editor.php @@ -654,4 +654,3 @@ abstract class WP_Image_Editor { return wp_get_default_extension_for_mime_type( $mime_type ); } } - diff --git a/src/wp-includes/pomo/streams.php b/src/wp-includes/pomo/streams.php index 2a4feb5f67..8fa5fc6156 100644 --- a/src/wp-includes/pomo/streams.php +++ b/src/wp-includes/pomo/streams.php @@ -359,4 +359,3 @@ if ( ! class_exists( 'POMO_CachedIntFileReader', false ) ) : } } endif; - diff --git a/tests/phpunit/includes/wp-profiler.php b/tests/phpunit/includes/wp-profiler.php index ce78ba4c8e..e589e783c6 100644 --- a/tests/phpunit/includes/wp-profiler.php +++ b/tests/phpunit/includes/wp-profiler.php @@ -220,5 +220,3 @@ function wppf_results() { function wppf_print_summary() { $GLOBALS['wppf']->print_summary(); } - - diff --git a/tests/phpunit/tests/block-supports/typography.php b/tests/phpunit/tests/block-supports/typography.php index 4738f1b8ae..9c547b4e5c 100644 --- a/tests/phpunit/tests/block-supports/typography.php +++ b/tests/phpunit/tests/block-supports/typography.php @@ -994,4 +994,3 @@ class Tests_Block_Supports_Typography extends WP_UnitTestCase { ); } } - diff --git a/tests/phpunit/tests/customize/setting.php b/tests/phpunit/tests/customize/setting.php index ef7ea0d93a..85091b5760 100644 --- a/tests/phpunit/tests/customize/setting.php +++ b/tests/phpunit/tests/customize/setting.php @@ -765,4 +765,3 @@ class Tests_WP_Customize_Setting extends WP_UnitTestCase { $this->assertSame( $override_value, $setting->value() ); } } - diff --git a/tests/phpunit/tests/formatting/ent2ncr.php b/tests/phpunit/tests/formatting/ent2ncr.php index ea5e2885bf..db60ba97ff 100644 --- a/tests/phpunit/tests/formatting/ent2ncr.php +++ b/tests/phpunit/tests/formatting/ent2ncr.php @@ -36,4 +36,3 @@ class Tests_Formatting_Ent2ncr extends WP_UnitTestCase { return $data_provided; } } - diff --git a/tests/phpunit/tests/formatting/seemsUtf8.php b/tests/phpunit/tests/formatting/seemsUtf8.php index b6a67950e9..97ec6ff0c9 100644 --- a/tests/phpunit/tests/formatting/seemsUtf8.php +++ b/tests/phpunit/tests/formatting/seemsUtf8.php @@ -43,4 +43,3 @@ class Tests_Formatting_SeemsUtf8 extends WP_UnitTestCase { return $big5_strings; } } - diff --git a/tests/phpunit/tests/formatting/utf8UriEncode.php b/tests/phpunit/tests/formatting/utf8UriEncode.php index e82e973e29..45d370d1da 100644 --- a/tests/phpunit/tests/formatting/utf8UriEncode.php +++ b/tests/phpunit/tests/formatting/utf8UriEncode.php @@ -35,4 +35,3 @@ class Tests_Formatting_Utf8UriEncode extends WP_UnitTestCase { return $data_provided; } } - diff --git a/tests/phpunit/tests/formatting/wpReplaceInHtmlTags.php b/tests/phpunit/tests/formatting/wpReplaceInHtmlTags.php index b16fd5e7f1..b461e3bfe8 100644 --- a/tests/phpunit/tests/formatting/wpReplaceInHtmlTags.php +++ b/tests/phpunit/tests/formatting/wpReplaceInHtmlTags.php @@ -36,4 +36,3 @@ class Tests_Formatting_wpReplaceInHtmlTags extends WP_UnitTestCase { ); } } - diff --git a/tests/phpunit/tests/formatting/wpStripAllTags.php b/tests/phpunit/tests/formatting/wpStripAllTags.php index 3efe479dec..703d334858 100644 --- a/tests/phpunit/tests/formatting/wpStripAllTags.php +++ b/tests/phpunit/tests/formatting/wpStripAllTags.php @@ -103,4 +103,3 @@ class Tests_Formatting_wpStripAllTags extends WP_UnitTestCase { ); } } - diff --git a/tests/phpunit/tests/pomo/po.php b/tests/phpunit/tests/pomo/po.php index 8c58099b69..eeaf0aad14 100644 --- a/tests/phpunit/tests/pomo/po.php +++ b/tests/phpunit/tests/pomo/po.php @@ -340,4 +340,3 @@ msgstr[2] "бабаяга"', // TODO: Add tests for bad files. } - diff --git a/tests/phpunit/tests/query/commentCount.php b/tests/phpunit/tests/query/commentCount.php index 5a759a3f06..c5e0d4d2d6 100644 --- a/tests/phpunit/tests/query/commentCount.php +++ b/tests/phpunit/tests/query/commentCount.php @@ -371,4 +371,3 @@ class Tests_Query_CommentCount extends WP_UnitTestCase { $this->assertSameSets( $expected, $found_post_ids ); } } - diff --git a/tests/phpunit/tests/theme/wpGetBlockCssSelector.php b/tests/phpunit/tests/theme/wpGetBlockCssSelector.php index 43376dbe57..670007dbb0 100644 --- a/tests/phpunit/tests/theme/wpGetBlockCssSelector.php +++ b/tests/phpunit/tests/theme/wpGetBlockCssSelector.php @@ -353,4 +353,3 @@ class Tests_Theme_WpGetBlockCssSelector extends WP_Theme_UnitTestCase { $this->assertEquals( '.found', $selector ); } } - diff --git a/tests/phpunit/tests/user/wpSetCurrentUser.php b/tests/phpunit/tests/user/wpSetCurrentUser.php index 559aa2fbf4..bebee961ec 100644 --- a/tests/phpunit/tests/user/wpSetCurrentUser.php +++ b/tests/phpunit/tests/user/wpSetCurrentUser.php @@ -58,4 +58,3 @@ class Tests_User_wpSetCurrentUser extends WP_UnitTestCase { $this->assertSame( self::$user_id2, get_current_user_id() ); } } - diff --git a/tests/phpunit/tests/xmlrpc/client.php b/tests/phpunit/tests/xmlrpc/client.php index b08d98949f..a13980c17d 100644 --- a/tests/phpunit/tests/xmlrpc/client.php +++ b/tests/phpunit/tests/xmlrpc/client.php @@ -27,4 +27,3 @@ class Tests_XMLRPC_Client extends WP_XMLRPC_UnitTestCase { $this->assertSame( '/server.php?this-is-needed=true', $client->path ); } } - diff --git a/tests/phpunit/wp-mail-real-test.php b/tests/phpunit/wp-mail-real-test.php index 243efde046..6c089e4ffb 100644 --- a/tests/phpunit/wp-mail-real-test.php +++ b/tests/phpunit/wp-mail-real-test.php @@ -82,4 +82,3 @@ $to = 'To '; $headers[] = "BCC: {$bcc}"; wp_mail( '', $subject, $message, $headers ); echo "Test emails sent!\n"; -