From f03cd09973f97d2703e794dd6837b09bb29bd2b2 Mon Sep 17 00:00:00 2001 From: DiegoHBustamante <99495937+DiegoHBustamante@users.noreply.github.com> Date: Thu, 28 Nov 2024 10:56:46 -0300 Subject: [PATCH] Revert "feat: handle error reporting" --- src/Utils/Curl/MessageTrait.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/Utils/Curl/MessageTrait.php b/src/Utils/Curl/MessageTrait.php index b7419f21..9a77ffaa 100644 --- a/src/Utils/Curl/MessageTrait.php +++ b/src/Utils/Curl/MessageTrait.php @@ -78,10 +78,7 @@ public function withAddedHeader($name, $value): static private function createBody($body = ''): StreamInterface { - $oldErrorReporting = error_reporting(); - error_reporting(0); $resource = fopen('php://temp', 'rw+'); - error_reporting($oldErrorReporting); if ($resource === false) { throw new CurlRequestException('Unable to open stream'); }