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

Remove not needed checks for PHP version

This commit is contained in:
George Mponos
2018-12-11 17:01:05 +02:00
parent 3fbaff7a63
commit e855ad8923
2 changed files with 2 additions and 2 deletions

View File

@@ -573,7 +573,7 @@ class LoggerTest extends \PHPUnit\Framework\TestCase
// this has a very small chance of a false negative (1/10^6)
'with microseconds' => [true, 'assertNotSame', 'Y-m-d\TH:i:s.uP'],
// php 7.1 always includes microseconds, so we keep them in, but we format the datetime without
'without microseconds' => [false, PHP_VERSION_ID >= 70100 ? 'assertNotSame' : 'assertSame', 'Y-m-d\TH:i:sP'],
'without microseconds' => [false, 'assertNotSame', 'Y-m-d\TH:i:sP'],
];
}