Codestyle fixes
This commit is contained in:
parent
9ba96efc97
commit
867237f567
|
@ -1419,6 +1419,7 @@ class Xlsx extends BaseReader
|
|||
foreach ($vmlComments as $relName => $relPath) {
|
||||
// Load VML comments file
|
||||
$relPath = File::realpath(dirname("$dir/$fileWorksheet") . '/' . $relPath);
|
||||
|
||||
try {
|
||||
$vmlCommentsFile = simplexml_load_string(
|
||||
$this->securityScanner->scan($this->getFromZipArchive($zip, $relPath)),
|
||||
|
@ -1426,7 +1427,7 @@ class Xlsx extends BaseReader
|
|||
Settings::getLibXmlLoaderOptions()
|
||||
);
|
||||
$vmlCommentsFile->registerXPathNamespace('v', 'urn:schemas-microsoft-com:vml');
|
||||
} catch(\Throwable $ex) {
|
||||
} catch (\Throwable $ex) {
|
||||
//Ignore unparsable vmlDrawings. Later they will be moved from $unparsedVmlDrawings to $unparsedLoadedData
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue