"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "vendor/monolog/monolog/src/Monolog/Formatter/WildfireFormatter.php" between
glpi-9.3.3.tgz and glpi-9.4.0.tgz

About: GLPI is an IT and asset management software (Information Resource Manager).

WildfireFormatter.php  (glpi-9.3.3.tgz):WildfireFormatter.php  (glpi-9.4.0.tgz)
skipping to change at line 105 skipping to change at line 105
strlen($json), strlen($json),
$json $json
); );
} }
public function formatBatch(array $records) public function formatBatch(array $records)
{ {
throw new \BadMethodCallException('Batch formatting does not make sense for the WildfireFormatter'); throw new \BadMethodCallException('Batch formatting does not make sense for the WildfireFormatter');
} }
protected function normalize($data) protected function normalize($data, $depth = 0)
{ {
if (is_object($data) && !$data instanceof \DateTime) { if (is_object($data) && !$data instanceof \DateTime) {
return $data; return $data;
} }
return parent::normalize($data); return parent::normalize($data, $depth);
} }
} }
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

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