Skip to content

Commit

Permalink
Coding Standards: Remove superfluous blank lines at the end of variou…
Browse files Browse the repository at this point in the history
…s files.

Note: This is enforced by WPCS 3.0.0.

Props jrf.
See #59161, #58831.

git-svn-id: https://develop.svn.wordpress.org/trunk@56536 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
SergeyBiryukov committed Sep 7, 2023
1 parent 3626241 commit 46f6492
Show file tree
Hide file tree
Showing 18 changed files with 0 additions and 19 deletions.
1 change: 0 additions & 1 deletion src/wp-admin/media-upload.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,4 +116,3 @@
*/
do_action( "media_upload_{$tab}" );
}

1 change: 0 additions & 1 deletion src/wp-content/themes/twentytwentytwo/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.

1 change: 0 additions & 1 deletion src/wp-includes/class-wp-image-editor.php
Original file line number Diff line number Diff line change
Expand Up @@ -654,4 +654,3 @@ protected static function get_extension( $mime_type = null ) {
return wp_get_default_extension_for_mime_type( $mime_type );
}
}

1 change: 0 additions & 1 deletion src/wp-includes/pomo/streams.php
Original file line number Diff line number Diff line change
Expand Up @@ -359,4 +359,3 @@ public function POMO_CachedIntFileReader( $filename ) {
}
}
endif;

2 changes: 0 additions & 2 deletions tests/phpunit/includes/wp-profiler.php
Original file line number Diff line number Diff line change
Expand Up @@ -220,5 +220,3 @@ function wppf_results() {
function wppf_print_summary() {
$GLOBALS['wppf']->print_summary();
}


1 change: 0 additions & 1 deletion tests/phpunit/tests/block-supports/typography.php
Original file line number Diff line number Diff line change
Expand Up @@ -994,4 +994,3 @@ public function data_wp_get_computed_fluid_typography_value() {
);
}
}

1 change: 0 additions & 1 deletion tests/phpunit/tests/customize/setting.php
Original file line number Diff line number Diff line change
Expand Up @@ -765,4 +765,3 @@ public function test_multidimensional_value_when_previewed() {
$this->assertSame( $override_value, $setting->value() );
}
}

1 change: 0 additions & 1 deletion tests/phpunit/tests/formatting/ent2ncr.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,3 @@ public function data_entities() {
return $data_provided;
}
}

1 change: 0 additions & 1 deletion tests/phpunit/tests/formatting/seemsUtf8.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,3 @@ public function data_seems_utf8_returns_false_for_non_utf8_strings() {
return $big5_strings;
}
}

1 change: 0 additions & 1 deletion tests/phpunit/tests/formatting/utf8UriEncode.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,3 @@ public function data() {
return $data_provided;
}
}

1 change: 0 additions & 1 deletion tests/phpunit/tests/formatting/wpReplaceInHtmlTags.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,3 @@ public function data_wp_replace_in_html_tags() {
);
}
}

1 change: 0 additions & 1 deletion tests/phpunit/tests/formatting/wpStripAllTags.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,4 +103,3 @@ public function data_wp_strip_all_tags_should_cast_scalar_values_to_string() {
);
}
}

1 change: 0 additions & 1 deletion tests/phpunit/tests/pomo/po.php
Original file line number Diff line number Diff line change
Expand Up @@ -340,4 +340,3 @@ public function test_import_from_file_with_windows_line_endings_should_work_as_w

// TODO: Add tests for bad files.
}

1 change: 0 additions & 1 deletion tests/phpunit/tests/query/commentCount.php
Original file line number Diff line number Diff line change
Expand Up @@ -371,4 +371,3 @@ public function test_simple_count() {
$this->assertSameSets( $expected, $found_post_ids );
}
}

1 change: 0 additions & 1 deletion tests/phpunit/tests/theme/wpGetBlockCssSelector.php
Original file line number Diff line number Diff line change
Expand Up @@ -353,4 +353,3 @@ public function test_string_targets_for_subfeatures() {
$this->assertEquals( '.found', $selector );
}
}

1 change: 0 additions & 1 deletion tests/phpunit/tests/user/wpSetCurrentUser.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,3 @@ public function test_should_set_by_name_if_id_is_null() {
$this->assertSame( self::$user_id2, get_current_user_id() );
}
}

1 change: 0 additions & 1 deletion tests/phpunit/tests/xmlrpc/client.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,3 @@ public function test_wp_ixr_client_allows_query_strings() {
$this->assertSame( '/server.php?this-is-needed=true', $client->path );
}
}

1 change: 0 additions & 1 deletion tests/phpunit/wp-mail-real-test.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,3 @@
$headers[] = "BCC: {$bcc}";
wp_mail( '', $subject, $message, $headers );
echo "Test emails sent!\n";

0 comments on commit 46f6492

Please sign in to comment.