@@ -17,8 +17,8 @@ |
||
17 | 17 | $directory = new FileNode($fileSystem, 'random/path'); |
18 | 18 | |
19 | 19 | $fileSystem->shouldReceive('createDir') |
20 | - ->with($directory->getDirectory(), ['visibility' => 'public']) |
|
21 | - ->andReturn(false); |
|
20 | + ->with($directory->getDirectory(), ['visibility' => 'public']) |
|
21 | + ->andReturn(false); |
|
22 | 22 | $this->expectException(MakedirectoryFailedException::class); |
23 | 23 | |
24 | 24 | $maker = new MakeDirectory(); |
@@ -17,8 +17,8 @@ |
||
17 | 17 | $file = new FileNode($fileSystem, 'not/exists'); |
18 | 18 | |
19 | 19 | $fileSystem->shouldReceive('has') |
20 | - ->with('not/exists') |
|
21 | - ->andReturn(false); |
|
20 | + ->with('not/exists') |
|
21 | + ->andReturn(false); |
|
22 | 22 | |
23 | 23 | static::assertEquals([], $file->getContents()); |
24 | 24 | } |
@@ -88,7 +88,7 @@ |
||
88 | 88 | $outputFilePath = $pathInfo['dirname'] . '/' . $outputFileName; |
89 | 89 | |
90 | 90 | $output = $file->getClone() |
91 | - ->setPath($outputFilePath); |
|
91 | + ->setPath($outputFilePath); |
|
92 | 92 | |
93 | 93 | $this->log(LogLevel::INFO, "Retrieving the last {lines} from file {file}", [ |
94 | 94 | 'lines' => $this->lines, |
@@ -88,7 +88,7 @@ |
||
88 | 88 | $outputFilePath = $pathInfo['dirname'] . '/' . $outputFileName; |
89 | 89 | |
90 | 90 | $output = $file->getClone() |
91 | - ->setPath($outputFilePath); |
|
91 | + ->setPath($outputFilePath); |
|
92 | 92 | |
93 | 93 | $this->log(LogLevel::INFO, "Retrieving the last {lines} from file {file}", [ |
94 | 94 | 'lines' => $this->lines, |
@@ -208,7 +208,7 @@ discard block |
||
208 | 208 | { |
209 | 209 | $file = m::mock(FileNodeInterface::class); |
210 | 210 | $file->shouldReceive('__toString') |
211 | - ->andReturn('some/file/here'); |
|
211 | + ->andReturn('some/file/here'); |
|
212 | 212 | |
213 | 213 | $this->expectException(InvalidArgumentException::class); |
214 | 214 | |
@@ -220,7 +220,7 @@ discard block |
||
220 | 220 | $process = m::mock(Process::class)->makePartial(); |
221 | 221 | $process->shouldReceive('isSuccessful')->andReturn(false); |
222 | 222 | $this->processFactory->shouldReceive('createProcess') |
223 | - ->andReturn($process); |
|
223 | + ->andReturn($process); |
|
224 | 224 | |
225 | 225 | $file = new LocalFile(static::$dir . 'failed_tail.test'); |
226 | 226 | $file->put('nothing interesting here'); |
@@ -208,7 +208,7 @@ discard block |
||
208 | 208 | { |
209 | 209 | $file = m::mock(FileNodeInterface::class); |
210 | 210 | $file->shouldReceive('__toString') |
211 | - ->andReturn('some/file/here'); |
|
211 | + ->andReturn('some/file/here'); |
|
212 | 212 | |
213 | 213 | $this->expectException(InvalidArgumentException::class); |
214 | 214 | |
@@ -220,7 +220,7 @@ discard block |
||
220 | 220 | $process = m::mock(Process::class)->makePartial(); |
221 | 221 | $process->shouldReceive('isSuccessful')->andReturn(false); |
222 | 222 | $this->processFactory->shouldReceive('createProcess') |
223 | - ->andReturn($process); |
|
223 | + ->andReturn($process); |
|
224 | 224 | |
225 | 225 | $file = new LocalFile(static::$dir . 'failed_tail.test'); |
226 | 226 | $file->put('nothing interesting here'); |