Skip to content

Commit 4c43b63

Browse files
authored
Merge pull request #58 from wundii/main
chore: function curl_close() is deprecated since 8.5, as it has no effect since PHP 8.0
2 parents 95a89da + f885674 commit 4c43b63

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

src/Wait/WaitForHttp.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -139,10 +139,7 @@ private function makeHttpRequest(string $url): int
139139
}
140140

141141
curl_exec($ch);
142-
$responseCode = curl_getinfo($ch, CURLINFO_HTTP_CODE);
143-
curl_close($ch);
144-
145-
return $responseCode;
142+
return curl_getinfo($ch, CURLINFO_HTTP_CODE);
146143
}
147144

148145
private function resolvePort(StartedTestContainer $container): void

0 commit comments

Comments
 (0)