mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-11 15:44:34 +02:00
Merge branch '1.x'
This commit is contained in:
@@ -217,16 +217,16 @@ class RotatingFileHandlerTest extends TestCase
|
|||||||
public function rotationWhenSimilarFilesExistTests()
|
public function rotationWhenSimilarFilesExistTests()
|
||||||
{
|
{
|
||||||
|
|
||||||
return [
|
return array(
|
||||||
'Rotation is triggered when the file of the current day is not present but similar exists'
|
'Rotation is triggered when the file of the current day is not present but similar exists'
|
||||||
=> [RotatingFileHandler::FILE_PER_DAY],
|
=> array(RotatingFileHandler::FILE_PER_DAY),
|
||||||
|
|
||||||
'Rotation is triggered when the file of the current month is not present but similar exists'
|
'Rotation is triggered when the file of the current month is not present but similar exists'
|
||||||
=> [RotatingFileHandler::FILE_PER_MONTH],
|
=> array(RotatingFileHandler::FILE_PER_MONTH),
|
||||||
|
|
||||||
'Rotation is triggered when the file of the current year is not present but similar exists'
|
'Rotation is triggered when the file of the current year is not present but similar exists'
|
||||||
=> [RotatingFileHandler::FILE_PER_YEAR],
|
=> array(RotatingFileHandler::FILE_PER_YEAR),
|
||||||
];
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testReuseCurrentFile()
|
public function testReuseCurrentFile()
|
||||||
|
Reference in New Issue
Block a user