diff --git a/tests/Unit/Client/NativeCurlClientTest.php b/tests/Unit/Client/NativeCurlClientTest.php index 29af5561..c229db48 100644 --- a/tests/Unit/Client/NativeCurlClientTest.php +++ b/tests/Unit/Client/NativeCurlClientTest.php @@ -765,7 +765,8 @@ function ($errno, $errstr): bool { try { $client->requestGet('/path'); - } catch (ClientException $th) {} + } catch (ClientException $th) { + } } public function testRequestPostTriggersDeprecationWarning(): void @@ -809,7 +810,8 @@ function ($errno, $errstr): bool { try { $client->requestPost('/path', ''); - } catch (ClientException $th) {} + } catch (ClientException $th) { + } } public function testRequestPutTriggersDeprecationWarning(): void @@ -853,7 +855,8 @@ function ($errno, $errstr): bool { try { $client->requestPut('/path', ''); - } catch (ClientException $th) {} + } catch (ClientException $th) { + } } public function testRequestDeleteTriggersDeprecationWarning(): void @@ -897,7 +900,8 @@ function ($errno, $errstr): bool { try { $client->requestDelete('/path'); - } catch (ClientException $th) {} + } catch (ClientException $th) { + } } public function testHandlingOfResponseWithoutContent(): void diff --git a/tests/Unit/Client/Psr18ClientTest.php b/tests/Unit/Client/Psr18ClientTest.php index 5c9094a5..472cf458 100644 --- a/tests/Unit/Client/Psr18ClientTest.php +++ b/tests/Unit/Client/Psr18ClientTest.php @@ -348,7 +348,8 @@ function ($errno, $errstr): bool { try { $client->requestGet('/path'); - } catch (ClientException $th) {} + } catch (ClientException $th) { + } } public function testRequestPostTriggersDeprecationWarning(): void @@ -382,7 +383,8 @@ function ($errno, $errstr): bool { try { $client->requestPost('/path', ''); - } catch (ClientException $th) {} + } catch (ClientException $th) { + } } public function testRequestPutTriggersDeprecationWarning(): void @@ -416,7 +418,8 @@ function ($errno, $errstr): bool { try { $client->requestPut('/path', ''); - } catch (ClientException $th) {} + } catch (ClientException $th) { + } } public function testRequestDeleteTriggersDeprecationWarning(): void @@ -450,7 +453,8 @@ function ($errno, $errstr): bool { try { $client->requestDelete('/path'); - } catch (ClientException $th) {} + } catch (ClientException $th) { + } } /**