Adding more tests
This commit is contained in:
1 parent
2345a80784
commit
86a4c3790a
8 files changed
+140
-6
No files matched your search
@@ -154,7 +154,8 @@ class SharedStringsHelper
|
||||
|
||||
$readError = libxml_get_last_error();
|
||||
if ($readError !== false) {
|
||||
throw new IOException("The sharedStrings.xml file is invalid and cannot be read. [{$readError->message}]");
|
||||
$readErrorMessage = trim($readError->message);
|
||||
throw new IOException("The sharedStrings.xml file is invalid and cannot be read. [{$readErrorMessage}]");
|
||||
}
|
||||
|
||||
// reset the setting to display XML warnings/errors
|
||||
|
||||
Reference in new issue
Block a user