Passed
Push — main ( 01771e...4cb28c )
by smiley
01:36
created
src/CurlUtils/CurlHandle.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -166,7 +166,7 @@
 block discarded – undo
166 166
 			CURLOPT_URL              => (string)$this->request->getUri()->withFragment(''),
167 167
 			CURLOPT_HTTP_VERSION     => CURL_HTTP_VERSION_2TLS,
168 168
 			CURLOPT_USERAGENT        => $this->options->user_agent,
169
-			CURLOPT_PROTOCOLS        => CURLPROTO_HTTP | CURLPROTO_HTTPS,
169
+			CURLOPT_PROTOCOLS        => CURLPROTO_HTTP|CURLPROTO_HTTPS,
170 170
 			CURLOPT_REDIR_PROTOCOLS  => CURLPROTO_HTTPS,
171 171
 			CURLOPT_TIMEOUT          => $this->options->timeout,
172 172
 			CURLOPT_CONNECTTIMEOUT   => 30,
Please login to merge, or discard this patch.
src/HTTPOptionsTrait.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -170,12 +170,12 @@
 block discarded – undo
170 170
 
171 171
 		// @codeCoverageIgnoreStart
172 172
 		$msg = 'No system CA bundle could be found in any of the the common system locations. '
173
-		       .'In order to verify peer certificates, you will need to supply the path on disk to a certificate bundle via  '
174
-		       .'HTTPOptions::$ca_info. If you do not need a specific certificate bundle, '
175
-		       .'then you can download a CA bundle over here: https://curl.haxx.se/docs/caextract.html. '
176
-		       .'Once you have a CA bundle available on disk, you can set the "curl.cainfo" php.ini setting to point '
177
-		       .'to the path of the file, allowing you to omit the $ca_info setting. '
178
-		       .'See http://curl.haxx.se/docs/sslcerts.html for more information.';
173
+			   .'In order to verify peer certificates, you will need to supply the path on disk to a certificate bundle via  '
174
+			   .'HTTPOptions::$ca_info. If you do not need a specific certificate bundle, '
175
+			   .'then you can download a CA bundle over here: https://curl.haxx.se/docs/caextract.html. '
176
+			   .'Once you have a CA bundle available on disk, you can set the "curl.cainfo" php.ini setting to point '
177
+			   .'to the path of the file, allowing you to omit the $ca_info setting. '
178
+			   .'See http://curl.haxx.se/docs/sslcerts.html for more information.';
179 179
 
180 180
 		throw new ClientException($msg);
181 181
 		// @codeCoverageIgnoreEnd
Please login to merge, or discard this patch.