Skip to content

Commit 33787a6

Browse files
committed
Fix CS
1 parent bf7b9d2 commit 33787a6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Filesystem.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -673,7 +673,7 @@ public function dumpFile(string $filename, $content)
673673
*
674674
* @throws IOException If the file is not writable
675675
*/
676-
public function appendToFile(string $filename, $content/*, bool $lock = false*/)
676+
public function appendToFile(string $filename, $content/* , bool $lock = false */)
677677
{
678678
if (\is_array($content)) {
679679
throw new \TypeError(sprintf('Argument 2 passed to "%s()" must be string or resource, array given.', __METHOD__));

Tests/FilesystemTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ public function testRemoveCleansInvalidLinks()
376376

377377
// create symlink to nonexistent dir
378378
rmdir($basePath.'dir');
379-
$this->assertFalse(is_dir($basePath.'dir-link'));
379+
$this->assertDirectoryDoesNotExist($basePath.'dir-link');
380380

381381
$this->filesystem->remove($basePath);
382382

0 commit comments

Comments
 (0)