$inner =
new Iterator(self::
$files);
$iterator =
new SortableIterator($inner,
$mode);
if (SortableIterator::SORT_BY_ACCESSED_TIME ===
$mode || SortableIterator::SORT_BY_CHANGED_TIME ===
$mode || SortableIterator::SORT_BY_MODIFIED_TIME ===
$mode ) { if ('\\' === \DIRECTORY_SEPARATOR && SortableIterator::SORT_BY_MODIFIED_TIME !==
$mode) { $this->
markTestSkipped('Sorting by atime or ctime is not supported on Windows'
);
} $this->
assertOrderedIteratorForGroups($expected,
$iterator);
} else { $this->
assertOrderedIterator($expected,
$iterator);
} } public static function getAcceptData() { $sortByName =
[ '.bar',
'.foo',
'.foo/.bar',