Improve determinism

phpcs-errors:226 phpunit-status:successful phpstan-errors:199
This commit is contained in:
jrenslin authored and Stefan Rohde-Enslin committed 2020-09-06 00:08:07 +02:00
1 parent 688ba604a8
commit 3267b7aad9
6 files changed
+8 -6

No files matched your search

+3 -1
View File
@@ -33,7 +33,9 @@
if (is_dir(__DIR__ . "/xml")) rrmdir(__DIR__ . '/xml');
mkdir(__DIR__ . "/xml", 0755);
$fp = fopen ($csv_datei, 'r');
if (!($fp = fopen($csv_datei, 'r'))) {
throw new MDmainEntityNotExistentException("Failed opening file");
}
$y = 0;
while ($zeile = fgetcsv($fp, 100000, ';')) {