Skip to content

Commit 0cfb5c6

Browse files
Merge branch '2.8' into 3.4
* 2.8: Consistently throw exceptions on a single line fix fopen calls Update .editorconfig
2 parents e4e52dd + 7aa2235 commit 0cfb5c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dumper/CsvFileDumper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class CsvFileDumper extends FileDumper
2828
*/
2929
public function formatCatalogue(MessageCatalogue $messages, $domain, array $options = array())
3030
{
31-
$handle = fopen('php://memory', 'rb+');
31+
$handle = fopen('php://memory', 'r+b');
3232

3333
foreach ($messages->all($domain) as $source => $target) {
3434
fputcsv($handle, array($source, $target), $this->delimiter, $this->enclosure);

0 commit comments

Comments
 (0)