"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "public_html/lists/base/vendor/monolog/monolog/src/Monolog/Formatter/JsonFormatter.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).

JsonFormatter.php  (phplist-3.4.5.tgz):JsonFormatter.php  (phplist-3.4.6.tgz)
skipping to change at line 198 skipping to change at line 198
'message' => $e->getMessage(), 'message' => $e->getMessage(),
'code' => $e->getCode(), 'code' => $e->getCode(),
'file' => $e->getFile().':'.$e->getLine(), 'file' => $e->getFile().':'.$e->getLine(),
); );
if ($this->includeStacktraces) { if ($this->includeStacktraces) {
$trace = $e->getTrace(); $trace = $e->getTrace();
foreach ($trace as $frame) { foreach ($trace as $frame) {
if (isset($frame['file'])) { if (isset($frame['file'])) {
$data['trace'][] = $frame['file'].':'.$frame['line']; $data['trace'][] = $frame['file'].':'.$frame['line'];
} elseif (isset($frame['function']) && $frame['function'] === '{
closure}') {
// We should again normalize the frames, because it might co
ntain invalid items
$data['trace'][] = $frame['function'];
} else {
// We should again normalize the frames, because it might co
ntain invalid items
$data['trace'][] = $this->normalize($frame);
} }
} }
} }
if ($previous = $e->getPrevious()) { if ($previous = $e->getPrevious()) {
$data['previous'] = $this->normalizeException($previous); $data['previous'] = $this->normalizeException($previous);
} }
return $data; return $data;
} }
 End of changes. 1 change blocks. 
9 lines changed or deleted 0 lines changed or added

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