Skip to content

Commit b0d84fe

Browse files
Merge branch '4.1'
* 4.1: [DI] configure inlined services before injecting them when dumping the container Consistently throw exceptions on a single line fix fopen calls Update .editorconfig
2 parents d054988 + 7b508c1 commit b0d84fe

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)