File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/Symfony/Component/Filesystem/Tests Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1139,7 +1139,7 @@ public function testDumpFileWithFileScheme()
1139
1139
$ scheme = 'file:// ' ;
1140
1140
$ filename = $ scheme .$ this ->workspace .DIRECTORY_SEPARATOR .'foo ' .DIRECTORY_SEPARATOR .'baz.txt ' ;
1141
1141
1142
- $ this ->filesystem ->dumpFile ($ filename , 'bar ' , null );
1142
+ $ this ->filesystem ->dumpFile ($ filename , 'bar ' );
1143
1143
1144
1144
$ this ->assertFileExists ($ filename );
1145
1145
$ this ->assertSame ('bar ' , file_get_contents ($ filename ));
@@ -1150,7 +1150,7 @@ public function testDumpFileWithZlibScheme()
1150
1150
$ scheme = 'compress.zlib:// ' ;
1151
1151
$ filename = $ this ->workspace .DIRECTORY_SEPARATOR .'foo ' .DIRECTORY_SEPARATOR .'baz.txt ' ;
1152
1152
1153
- $ this ->filesystem ->dumpFile ($ filename , 'bar ' , null );
1153
+ $ this ->filesystem ->dumpFile ($ filename , 'bar ' );
1154
1154
1155
1155
// Zlib stat uses file:// wrapper so remove scheme
1156
1156
$ this ->assertFileExists (str_replace ($ scheme , '' , $ filename ));
You can’t perform that action at this time.
0 commit comments