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

@@ -196,7 +196,7 @@ class LoadPostalCodesCommand extends Command
. 'have the right to read it.');
}
$resource = fopen($filename, 'r');
$resource = fopen($filename, 'rb');
if (false == $resource) {
throw new RuntimeException("The file '{$filename}' could not be opened.");