Coding Standards: Remove superfluous blank lines at the end of various functions.

Note: This is enforced by WPCS 3.0.0.

Follow-up to [56536], [56547].

Props jrf.
See #59161, #58831.

git-svn-id: https://develop.svn.wordpress.org/trunk@56548 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov
2023-09-08 10:01:14 +00:00
parent d790be16dc
commit 1118e37f48
123 changed files with 0 additions and 263 deletions

View File

@@ -135,7 +135,6 @@ class Tests_Widgets extends WP_UnitTestCase {
register_sidebars( 1, array( 'id' => 'wp-unit-test' ) );
$this->assertArrayHasKey( 'wp-unit-test', $wp_registered_sidebars );
}
/**
@@ -157,7 +156,6 @@ class Tests_Widgets extends WP_UnitTestCase {
}
$this->assertCount( $num, $result );
}
/**
@@ -266,7 +264,6 @@ class Tests_Widgets extends WP_UnitTestCase {
$this->assertArrayHasKey( $sidebar_id, $wp_registered_sidebars );
$this->assertStringContainsString( '<div id="%1$s" class="before-sidebar %2$s">', $wp_registered_sidebars[ $sidebar_id ]['before_sidebar'] );
$this->assertStringContainsString( '</div> <!-- .before-sidebar -->', $wp_registered_sidebars[ $sidebar_id ]['after_sidebar'] );
}
/**
@@ -286,7 +283,6 @@ class Tests_Widgets extends WP_UnitTestCase {
$this->assertArrayHasKey( $sidebar_id, $wp_registered_sidebars );
$this->assertEmpty( $wp_registered_sidebars[ $sidebar_id ]['before_sidebar'] );
$this->assertEmpty( $wp_registered_sidebars[ $sidebar_id ]['after_sidebar'] );
}
/**
@@ -890,7 +886,6 @@ class Tests_Widgets extends WP_UnitTestCase {
unregister_widget( 'WP_Widget_Text' );
$this->assertMatchesRegularExpression( '/<span class="special widget_text">/', $actual );
}
/**