Skip to content

Commit

Permalink
Update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
Seldaek committed Aug 30, 2019
1 parent 9b5deda commit f954b4e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
9 changes: 3 additions & 6 deletions tests/Monolog/Handler/RedisHandlerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,9 @@ public function testConstructorShouldWorkWithRedis()

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]);

Expand Down

0 comments on commit f954b4e

Please sign in to comment.