diff --git a/src/File.php b/src/File.php index 764a737..1ded2b4 100644 --- a/src/File.php +++ b/src/File.php @@ -10,7 +10,7 @@ class File implements FileInterface { /** * for more Information see parameter 'mode' on - * https://www.php.net/manual/de/function.fopen.php + * https://www.php.net/manual/de/function.fopen.php. */ public const MODE_READ = 'r'; public const MODE_READ_PLUS = 'r+'; @@ -24,7 +24,6 @@ class File implements FileInterface public const MODE_C_PLUS = 'c+'; public const MODE_E = 'e'; - /** * @var resource */ diff --git a/src/Test/FileTest.php b/src/Test/FileTest.php index dc791b4..02b6298 100644 --- a/src/Test/FileTest.php +++ b/src/Test/FileTest.php @@ -49,13 +49,13 @@ public function testGetContent(): void public function testGetPath(): void { $this->assertEquals($this->root->url().'/test.txt', $this->readableFile->getPath()); - } - + } + public function testGetExtension(): void { $this->assertEquals('txt', $this->readableFile->getExtension()); } - + public function testGetFilenameWithoutExtension(): void { $this->assertEquals( @@ -66,7 +66,7 @@ public function testGetFilenameWithoutExtension(): void public function testToString(): void { - $this->assertEquals($this->root->url().'/test.txt', (string)$this->readableFile); + $this->assertEquals($this->root->url().'/test.txt', (string) $this->readableFile); } public function testGetFileHandle(): void