From 7d49ed19a0ff628d76bef4f1f4d71d35eff5eb25 Mon Sep 17 00:00:00 2001 From: Stefan Neufeind <typo3.neufeind@speedpartner.de> Date: Wed, 19 Feb 2014 13:33:05 +0100 Subject: [PATCH] [TASK] getFilesInDirCanOrderByMtime-test should use vfs Follow-up for PHP 5.3 compatiblity. Resolves: #56121 Releases: 6.2 Change-Id: I948eb3063c2e6b014b8d69c2011789c7dbe58748 Reviewed-on: https://review.typo3.org/27719 Reviewed-by: Michiel Roos Tested-by: Michiel Roos Reviewed-by: Markus Klein Tested-by: Markus Klein --- typo3/sysext/core/Tests/Unit/Utility/GeneralUtilityTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typo3/sysext/core/Tests/Unit/Utility/GeneralUtilityTest.php b/typo3/sysext/core/Tests/Unit/Utility/GeneralUtilityTest.php index f42d71e07cf6..c5b89811aead 100644 --- a/typo3/sysext/core/Tests/Unit/Utility/GeneralUtilityTest.php +++ b/typo3/sysext/core/Tests/Unit/Utility/GeneralUtilityTest.php @@ -3352,7 +3352,7 @@ class GeneralUtilityTest extends \TYPO3\CMS\Core\Tests\UnitTestCase { \vfsStream::setup('test', NULL, $structure); $vfsUrl = \vfsStream::url('test'); - if (version_compare(PHP_VERSION, '5.3.0', '>')) { + if (version_compare(PHP_VERSION, '5.4.0', '>=')) { // set random values for mtime foreach ($structure as $structureLevel1Key => $structureLevel1Content) { $newMtime = rand(); -- GitLab