Completed
Push — master ( c116af...8beba5 )
by smiley
01:40
created
src/Psr18/HTTPClientAbstract.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@
 block discarded – undo
14 14
 
15 15
 use chillerlan\HTTP\HTTPOptions;
16 16
 use chillerlan\HTTP\Psr17\{RequestFactory, ResponseFactory};
17
-use chillerlan\HTTP\Psr7\Request;
18 17
 use chillerlan\Settings\SettingsContainerInterface;
19 18
 use Psr\Http\Message\{RequestFactoryInterface, ResponseFactoryInterface, ResponseInterface};
20 19
 use Psr\Log\{LoggerAwareInterface, LoggerAwareTrait, LoggerInterface, NullLogger};
Please login to merge, or discard this patch.
src/Psr7/UploadedFile.php 2 patches
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.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
 use InvalidArgumentException, RuntimeException;
18 18
 
19 19
 use function chillerlan\HTTP\Psr17\create_stream_from_input;
20
-use function in_array, is_file, is_string, is_writable, move_uploaded_file, php_sapi_name,rename;
20
+use function in_array, is_file, is_string, is_writable, move_uploaded_file, php_sapi_name, rename;
21 21
 
22 22
 use const UPLOAD_ERR_CANT_WRITE, UPLOAD_ERR_EXTENSION, UPLOAD_ERR_FORM_SIZE, UPLOAD_ERR_INI_SIZE,
23 23
 	UPLOAD_ERR_NO_FILE, UPLOAD_ERR_NO_TMP_DIR, UPLOAD_ERR_OK, UPLOAD_ERR_PARTIAL;
@@ -161,7 +161,7 @@  discard block
 block discarded – undo
161 161
 	/**
162 162
 	 * @inheritDoc
163 163
 	 */
164
-	public function getSize():?int{
164
+	public function getSize(): ?int{
165 165
 		return $this->size;
166 166
 	}
167 167
 
@@ -175,14 +175,14 @@  discard block
 block discarded – undo
175 175
 	/**
176 176
 	 * @inheritDoc
177 177
 	 */
178
-	public function getClientFilename():?string{
178
+	public function getClientFilename(): ?string{
179 179
 		return $this->clientFilename;
180 180
 	}
181 181
 
182 182
 	/**
183 183
 	 * @inheritDoc
184 184
 	 */
185
-	public function getClientMediaType():?string{
185
+	public function getClientMediaType(): ?string{
186 186
 		return $this->clientMediaType;
187 187
 	}
188 188
 
Please login to merge, or discard this patch.