mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-06 05:07:36 +02:00
Update changelog
This commit is contained in:
@@ -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: 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 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
|
||||
|
||||
### 2.0.0-beta2 (2019-07-06)
|
||||
|
@@ -42,12 +42,9 @@ class RedisHandlerTest extends TestCase
|
||||
|
||||
public function testPredisHandle()
|
||||
{
|
||||
$redis = $this->createPartialMock('Predis\Client', ['rPush']);
|
||||
|
||||
// Predis\Client uses rPush
|
||||
$redis->expects($this->once())
|
||||
->method('rPush')
|
||||
->with('key', 'test');
|
||||
$redis = $this->prophesize('Predis\Client');
|
||||
$redis->rpush('key', 'test')->shouldBeCalled();
|
||||
$redis = $redis->reveal();
|
||||
|
||||
$record = $this->getRecord(Logger::WARNING, 'test', ['data' => new \stdClass, 'foo' => 34]);
|
||||
|
||||
|
Reference in New Issue
Block a user