"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "public_html/lists/base/vendor/symfony/symfony/src/Symfony/Component/Translation/Loader/YamlFileLoader.php" between
phplist-3.4.5.tgz and phplist-3.4.6.tgz

About: phpList is a one-way email announcement delivery system for newsletters, publicity lists, notifications, and many other uses (requires PHP and MySQL).

YamlFileLoader.php  (phplist-3.4.5.tgz):YamlFileLoader.php  (phplist-3.4.6.tgz)
skipping to change at line 55 skipping to change at line 55
}); });
try { try {
$messages = $this->yamlParser->parseFile($resource); $messages = $this->yamlParser->parseFile($resource);
} catch (ParseException $e) { } catch (ParseException $e) {
throw new InvalidResourceException(sprintf('Error parsing YAML, inva lid file "%s"', $resource), 0, $e); throw new InvalidResourceException(sprintf('Error parsing YAML, inva lid file "%s"', $resource), 0, $e);
} finally { } finally {
restore_error_handler(); restore_error_handler();
} }
return $messages; if (null !== $messages && !\is_array($messages)) {
throw new InvalidResourceException(sprintf('Unable to load file "%s"
.', $resource));
}
return $messages ?: [];
} }
} }
 End of changes. 1 change blocks. 
1 lines changed or deleted 6 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)