diff --git a/test/UploadedFileTest.php b/test/UploadedFileTest.php index 75840ca9..c741b838 100755 --- a/test/UploadedFileTest.php +++ b/test/UploadedFileTest.php @@ -32,6 +32,7 @@ class UploadedFileTest extends TestCase { + /** @var false|null|string */ protected $orgFile; protected $tmpFile; @@ -149,6 +150,9 @@ public function testGetStreamReturnsStreamForFile() $this->assertSame($stream, $r->getValue($uploadStream)); } + /** + * @return void + */ public function testMovesFileToDesignatedPath() { $originalContents = 'Foo bar!'; @@ -279,6 +283,7 @@ public function testGetStreamRaisesExceptionWhenErrorStatusPresent($status) /** * @group 82 + * @return void */ public function testMoveToCreatesStreamIfOnlyAFilenameWasProvided() { @@ -332,6 +337,9 @@ public function testMoveToRaisesExceptionWithAppropriateMessageWhenUploadErrorDe $uploadedFile->moveTo('/tmp/foo'); } + /** + * @return void + */ public function testMoveToInCLIShouldRemoveOriginalFile() { $this->orgFile = tempnam(sys_get_temp_dir(), 'ORG');