Completed
Push — master ( 3bee99...66fd28 )
by Michaël
02:48
created
src/Writer/PrependingWriter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
 
28 28
         $file->fseek($originalSeek);
29 29
 
30
-        $file->fwrite($text . ($newLineAtEnd ? PHP_EOL : ''));
30
+        $file->fwrite($text.($newLineAtEnd ? PHP_EOL : ''));
31 31
 
32 32
         $file->fwrite($contentAfter);
33 33
 
Please login to merge, or discard this patch.
src/Tests/Walker/SimpleWalkerTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@
 block discarded – undo
75 75
         $this->assertEquals(21, $walker->countLines($file));
76 76
 
77 77
         $file->seek(21);
78
-        $file->fwrite('test' . PHP_EOL);
78
+        $file->fwrite('test'.PHP_EOL);
79 79
 
80 80
         // Evaluate if correctly refreshed after modification
81 81
         $this->assertEquals(22, $walker->countLines($file));
Please login to merge, or discard this patch.
src/Writer/ErasingWriter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
 
28 28
         $file->fseek($originalSeek);
29 29
 
30
-        $file->fwrite($text . ($newLineAtEnd ? PHP_EOL : ''));
30
+        $file->fwrite($text.($newLineAtEnd ? PHP_EOL : ''));
31 31
 
32 32
         $file->fwrite($contentAfter);
33 33
 
Please login to merge, or discard this patch.
src/Tests/TextFileTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
      */
19 19
     public function testOpenNonExisting()
20 20
     {
21
-        $filePath = $this->workspace . DIRECTORY_SEPARATOR . mt_rand(0, 1000) . '.txt';
21
+        $filePath = $this->workspace.DIRECTORY_SEPARATOR.mt_rand(0, 1000).'.txt';
22 22
 
23 23
         $this->assertFalse($this->filesystem->exists($filePath));
24 24
 
Please login to merge, or discard this patch.