mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-08 06:06:40 +02:00
Fix 5.3/5.4 builds
This commit is contained in:
@@ -190,8 +190,12 @@ class NormalizerFormatterTest extends \PHPUnit_Framework_TestCase
|
|||||||
|
|
||||||
restore_error_handler();
|
restore_error_handler();
|
||||||
|
|
||||||
|
if (PHP_VERSION_ID < 50500) {
|
||||||
|
$this->assertEquals('[{"bar":{"foo":null}},{"foo":{"bar":null}}]', $res);
|
||||||
|
} else {
|
||||||
$this->assertEquals('null', $res);
|
$this->assertEquals('null', $res);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public function testCanNormalizeReferences()
|
public function testCanNormalizeReferences()
|
||||||
{
|
{
|
||||||
@@ -223,8 +227,12 @@ class NormalizerFormatterTest extends \PHPUnit_Framework_TestCase
|
|||||||
|
|
||||||
restore_error_handler();
|
restore_error_handler();
|
||||||
|
|
||||||
|
if (PHP_VERSION_ID < 50500) {
|
||||||
|
$this->assertEquals('[null]', $res);
|
||||||
|
} else {
|
||||||
$this->assertEquals('null', $res);
|
$this->assertEquals('null', $res);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public function testNormalizeHandleLargeArraysWithExactly1000Items()
|
public function testNormalizeHandleLargeArraysWithExactly1000Items()
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user