cs: Enable more risky rules.

This commit is contained in:
Pol Dellaiera
2021-11-30 12:09:24 +01:00
parent 6ce511889f
commit 579c349e28
22 changed files with 29 additions and 15 deletions

View File

@@ -204,7 +204,7 @@ class SpreadSheetFormatter implements FormatterInterface
$this->tempfile = tempnam(sys_get_temp_dir(), '');
$this->generateContent();
$f = fopen($this->tempfile, 'r');
$f = fopen($this->tempfile, 'rb');
$response->setContent(stream_get_contents($f));
fclose($f);