Improve determinism
phpcs-errors:226 phpunit-status:successful phpstan-errors:199
This commit is contained in:
1 parent
688ba604a8
commit
3267b7aad9
6 files changed
+8
-6
No files matched your search
Submodule classes/MDAllowedValueSets updated: 88e068d0da...7bc28d5d30.
+1
-1
Submodule classes/MDErrorReporter updated: f0b39322ec...54e8fe5bdb.
+1
-1
Submodule classes/MDTlLoader updated: df7a17f8d9...230963a27e.
+1
-1
Submodule classes/MD_STD updated: 7d4a740f8f...49ab75afe8.
+3
-1
@@ -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, ';')) {
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
$pathData = pathinfo($fileDir . $file);
|
||||
$fileName = $pathData['filename'];
|
||||
if ($file != '1.xml')
|
||||
$zip->addFile(file_get_contents($fileDir . $file), $file, filectime($fileDir . $file));
|
||||
$zip->addFile(MD_STD::file_get_contents($fileDir . $file), $file, filectime($fileDir . $file));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user