mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 07:03:49 +00:00
cs: Enable more risky rules.
This commit is contained in:
@@ -44,6 +44,8 @@ use function get_class;
|
||||
use function in_array;
|
||||
use function is_array;
|
||||
use function json_decode;
|
||||
use const JSON_PRETTY_PRINT;
|
||||
use const LC_TIME;
|
||||
|
||||
final class ImportPeopleFromCSVCommand extends Command
|
||||
{
|
||||
@@ -771,7 +773,7 @@ final class ImportPeopleFromCSVCommand 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.");
|
||||
|
Reference in New Issue
Block a user