diff --git a/tests/Monolog/Handler/RotatingFileHandlerTest.php b/tests/Monolog/Handler/RotatingFileHandlerTest.php index 58932cd1..9454b0f5 100644 --- a/tests/Monolog/Handler/RotatingFileHandlerTest.php +++ b/tests/Monolog/Handler/RotatingFileHandlerTest.php @@ -217,16 +217,16 @@ class RotatingFileHandlerTest extends TestCase public function rotationWhenSimilarFilesExistTests() { - return [ + return array( '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' - => [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' - => [RotatingFileHandler::FILE_PER_YEAR], - ]; + => array(RotatingFileHandler::FILE_PER_YEAR), + ); } public function testReuseCurrentFile()