"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.9.tgz and phplist-3.5.0.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.9.tgz):JsonFormatter.php  (phplist-3.5.0.tgz)
skipping to change at line 168 skipping to change at line 168
$normalized[$key] = $this->normalize($value, $depth+1); $normalized[$key] = $this->normalize($value, $depth+1);
} }
return $normalized; return $normalized;
} }
if ($data instanceof Exception || $data instanceof Throwable) { if ($data instanceof Exception || $data instanceof Throwable) {
return $this->normalizeException($data); return $this->normalizeException($data);
} }
if (is_resource($data)) {
return parent::normalize($data);
}
return $data; return $data;
} }
/** /**
* Normalizes given exception with or without its own stack trace based on * Normalizes given exception with or without its own stack trace based on
* `includeStacktraces` property. * `includeStacktraces` property.
* *
* @param Exception|Throwable $e * @param Exception|Throwable $e
* *
* @return array * @return array
 End of changes. 1 change blocks. 
0 lines changed or deleted 4 lines changed or added

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