From 75aaa65770b1e6922432f030b4677c75ca7f8d82 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 30 Nov 2022 16:33:48 +0000 Subject: [PATCH] Coding Standards: Fix indentation of multi-line chained method call in `test_json_error_with_status()`. Follow-up to [34928], [42228]. Props jrf. See #56791. git-svn-id: https://develop.svn.wordpress.org/trunk@54915 602fd350-edb4-49c9-b593-d223f7449a82 --- tests/phpunit/tests/rest-api/rest-server.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/phpunit/tests/rest-api/rest-server.php b/tests/phpunit/tests/rest-api/rest-server.php index 06beab745a..8788a72445 100644 --- a/tests/phpunit/tests/rest-api/rest-server.php +++ b/tests/phpunit/tests/rest-api/rest-server.php @@ -593,8 +593,8 @@ class Tests_REST_Server extends WP_Test_REST_TestCase { public function test_json_error_with_status() { $stub = $this->getMockBuilder( 'Spy_REST_Server' ) - ->setMethods( array( 'set_status' ) ) - ->getMock(); + ->setMethods( array( 'set_status' ) ) + ->getMock(); $stub->expects( $this->once() ) ->method( 'set_status' )