Completed
Push — master ( 03be64...c60772 )
by smiley
01:27
created
src/Psr7/Stream.php 1 patch
Unused Use Statements   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,9 @@
 block discarded – undo
12 12
 
13 13
 namespace chillerlan\HTTP\Psr7;
14 14
 
15
-use Exception, InvalidArgumentException, RuntimeException;
15
+use Exception;
16
+use InvalidArgumentException;
17
+use RuntimeException;
16 18
 
17 19
 use function clearstatcache, fclose, feof, fread, fstat, ftell, fwrite, is_resource, stream_get_contents,
18 20
 	stream_get_meta_data, trigger_error;
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
@@ -124,12 +124,12 @@
 block discarded – undo
124 124
 
125 125
 		// @codeCoverageIgnoreStart
126 126
 		$msg = 'No system CA bundle could be found in any of the the common system locations. '
127
-		       .'In order to verify peer certificates, you will need to supply the path on disk to a certificate bundle via  '
128
-		       .'HTTPOptions::$ca_info or HTTPOptions::$curl_options. If you do not need a specific certificate bundle, '
129
-		       .'then you can download a CA bundle over here: https://curl.haxx.se/docs/caextract.html. '
130
-		       .'Once you have a CA bundle available on disk, you can set the "curl.cainfo" php.ini setting to point '
131
-		       .'to the path of the file, allowing you to omit the $ca_info or $curl_options setting. '
132
-		       .'See http://curl.haxx.se/docs/sslcerts.html for more information.';
127
+			   .'In order to verify peer certificates, you will need to supply the path on disk to a certificate bundle via  '
128
+			   .'HTTPOptions::$ca_info or HTTPOptions::$curl_options. If you do not need a specific certificate bundle, '
129
+			   .'then you can download a CA bundle over here: https://curl.haxx.se/docs/caextract.html. '
130
+			   .'Once you have a CA bundle available on disk, you can set the "curl.cainfo" php.ini setting to point '
131
+			   .'to the path of the file, allowing you to omit the $ca_info or $curl_options setting. '
132
+			   .'See http://curl.haxx.se/docs/sslcerts.html for more information.';
133 133
 
134 134
 		throw new ClientException($msg);
135 135
 		// @codeCoverageIgnoreEnd
Please login to merge, or discard this patch.
src/Psr7/MultipartStream.php 1 patch
Unused Use Statements   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,8 @@
 block discarded – undo
14 14
 
15 15
 namespace chillerlan\HTTP\Psr7;
16 16
 
17
-use InvalidArgumentException, RuntimeException;
17
+use InvalidArgumentException;
18
+use RuntimeException;
18 19
 
19 20
 use function chillerlan\HTTP\Psr17\{create_stream, create_stream_from_input};
20 21
 use function array_merge, basename, is_string, pathinfo, random_bytes, sha1, strlen, strtolower, substr;
Please login to merge, or discard this patch.
src/Psr7/UploadedFile.php 1 patch
Unused Use Statements   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,8 @@
 block discarded – undo
14 14
 
15 15
 use chillerlan\HTTP\Psr17\StreamFactory;
16 16
 use Psr\Http\Message\{StreamInterface, UploadedFileInterface};
17
-use InvalidArgumentException, RuntimeException;
17
+use InvalidArgumentException;
18
+use RuntimeException;
18 19
 
19 20
 use function chillerlan\HTTP\Psr17\create_stream_from_input;
20 21
 use function in_array, is_file, is_string, is_writable, move_uploaded_file, php_sapi_name,rename;
Please login to merge, or discard this patch.