Skip to content

Commit f16a28b

Browse files
authored
Changed cURL to non-verbose.
Removes issue of log spam. paquettg#176
1 parent 77e4a44 commit f16a28b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PHPHtmlParser/Curl.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public function get(string $url): string
2929
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
3030
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 5);
3131
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
32-
curl_setopt($ch, CURLOPT_VERBOSE, true);
32+
curl_setopt($ch, CURLOPT_VERBOSE, false);
3333
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
3434
curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36');
3535
curl_setopt($ch, CURLOPT_URL, $url);

0 commit comments

Comments
 (0)