Browse Source

Merge branch '1.x'

Jordi Boggiano 7 years ago
parent
commit
2b688c4d1d
1 changed files with 5 additions and 5 deletions
  1. 5 5
      tests/Monolog/Handler/RotatingFileHandlerTest.php

+ 5 - 5
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()