1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-06 05:07:36 +02:00

Update changelog

This commit is contained in:
Jordi Boggiano
2019-08-30 11:46:18 +02:00
parent 9b5deda678
commit f954b4ea84
2 changed files with 7 additions and 7 deletions

View File

@@ -1,8 +1,11 @@
### 2.0.0 (xx) ### 2.0.0 (2019-08-30)
* BC Break: This is a major release, see [UPGRADE.md](UPGRADE.md) for details if you are coming from a 1.x release * BC Break: This is a major release, see [UPGRADE.md](UPGRADE.md) for details if you are coming from a 1.x release
* BC Break: Logger methods log/debug/info/notice/warning/error/critical/alert/emergency now have explicit void return types * BC Break: Logger methods log/debug/info/notice/warning/error/critical/alert/emergency now have explicit void return types
* Added FallbackGroupHandler which works like the WhatFailureGroupHandler but stops dispatching log records as soon as one handler accepted it * Added FallbackGroupHandler which works like the WhatFailureGroupHandler but stops dispatching log records as soon as one handler accepted it
* Added support for RFC3164 (outdated BSD syslog protocol) to SyslogUdpHandler
* Fixed support for UTF-8 when cutting strings to avoid cutting a multibyte-character in half
* Fixed normalizers handling of exception backtraces to avoid serializing arguments in some cases
* Fixed date timezone handling in SyslogUdpHandler * Fixed date timezone handling in SyslogUdpHandler
### 2.0.0-beta2 (2019-07-06) ### 2.0.0-beta2 (2019-07-06)

View File

@@ -42,12 +42,9 @@ class RedisHandlerTest extends TestCase
public function testPredisHandle() public function testPredisHandle()
{ {
$redis = $this->createPartialMock('Predis\Client', ['rPush']); $redis = $this->prophesize('Predis\Client');
$redis->rpush('key', 'test')->shouldBeCalled();
// Predis\Client uses rPush $redis = $redis->reveal();
$redis->expects($this->once())
->method('rPush')
->with('key', 'test');
$record = $this->getRecord(Logger::WARNING, 'test', ['data' => new \stdClass, 'foo' => 34]); $record = $this->getRecord(Logger::WARNING, 'test', ['data' => new \stdClass, 'foo' => 34]);