mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-09 11:40:04 +00:00
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:
@@ -274,7 +274,6 @@ abstract class WP_UnitTestCase_Base extends PHPUnit_Adapter_TestCase {
|
||||
if ( 0 === strpos( $response->get_error_message(), 'stream_socket_client(): unable to connect to tcp://s.w.org:80' ) ) {
|
||||
$this->markTestSkipped( 'HTTP timeout' );
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -73,7 +73,6 @@ class WP_Filesystem_MockFS extends WP_Filesystem_Base {
|
||||
$this->put_contents( $path, 'This is a test file' );
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -61,7 +61,6 @@ if ( class_exists( 'WP_Image_Editor' ) ) :
|
||||
return self::$save_return;
|
||||
}
|
||||
public function stream( $mime_type = null ) {
|
||||
|
||||
}
|
||||
|
||||
public function get_size() {
|
||||
|
||||
@@ -196,7 +196,6 @@ abstract class WP_Test_REST_Post_Type_Controller_Testcase extends WP_Test_REST_C
|
||||
$num++;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
protected function check_get_posts_response( $response, $context = 'view' ) {
|
||||
@@ -240,7 +239,6 @@ abstract class WP_Test_REST_Post_Type_Controller_Testcase extends WP_Test_REST_C
|
||||
$data = $response->get_data();
|
||||
$post = get_post( $data['id'] );
|
||||
$this->check_post_data( $post, $data, $context, $response->get_links() );
|
||||
|
||||
}
|
||||
|
||||
protected function check_create_post_response( $response ) {
|
||||
|
||||
@@ -56,7 +56,6 @@ class WPProfiler {
|
||||
'filters' => array(),
|
||||
'queries' => array(),
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
public function stop() {
|
||||
|
||||
Reference in New Issue
Block a user