Skip to content

Commit 59e8f2f

Browse files
committed
minor symfony#20613 [Filesystem] Remove extra argv from dumpFile() calls in tests (chalasr)
This PR was submitted for the master branch but it was merged into the 3.1 branch instead (closes symfony#20613). Discussion ---------- [Filesystem] Remove extra argv from dumpFile() calls in tests | Q | A | ------------- | --- | Branch? | master | Tests pass? | yes | License | MIT Commits ------- 1b298e5 [Filesystem] Remove extra argv in dumpFile() tests
2 parents bd34b67 + 1b298e5 commit 59e8f2f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Component/Filesystem/Tests/FilesystemTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1139,7 +1139,7 @@ public function testDumpFileWithFileScheme()
11391139
$scheme = 'file://';
11401140
$filename = $scheme.$this->workspace.DIRECTORY_SEPARATOR.'foo'.DIRECTORY_SEPARATOR.'baz.txt';
11411141

1142-
$this->filesystem->dumpFile($filename, 'bar', null);
1142+
$this->filesystem->dumpFile($filename, 'bar');
11431143

11441144
$this->assertFileExists($filename);
11451145
$this->assertSame('bar', file_get_contents($filename));
@@ -1150,7 +1150,7 @@ public function testDumpFileWithZlibScheme()
11501150
$scheme = 'compress.zlib://';
11511151
$filename = $this->workspace.DIRECTORY_SEPARATOR.'foo'.DIRECTORY_SEPARATOR.'baz.txt';
11521152

1153-
$this->filesystem->dumpFile($filename, 'bar', null);
1153+
$this->filesystem->dumpFile($filename, 'bar');
11541154

11551155
// Zlib stat uses file:// wrapper so remove scheme
11561156
$this->assertFileExists(str_replace($scheme, '', $filename));

0 commit comments

Comments
 (0)