mirror of
https://github.com/Seldaek/monolog.git
synced 2025-07-31 18:30:15 +02:00
Fix PHP7.1 DateTime support
This commit is contained in:
@@ -542,7 +542,7 @@ class LoggerTest extends \PHPUnit_Framework_TestCase
|
||||
return array(
|
||||
// this has a very small chance of a false negative (1/10^6)
|
||||
'with microseconds' => array(true, 'assertNotSame'),
|
||||
'without microseconds' => array(false, 'assertSame'),
|
||||
'without microseconds' => array(false, PHP_VERSION_ID >= 70100 ? 'assertNotSame' : 'assertSame'),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user