Skip to content

Commit e376682

Browse files
Merge branch '2.8' into 3.3
* 2.8: [CS][2.7] yoda_style, no_unneeded_curly_braces, no_unneeded_final_method, semicolon_after_instruction [Filesystem] mirror - fix copying content with same name as source/target. .php_cs.dist - simplify config [WebProfilerBundle] fixed TemplateManager when using Twig 2 without compat interfaces
2 parents b058ccc + 14b3976 commit e376682

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Tests/Iterator/SortableIteratorTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@ public function testAccept($mode, $expected)
5858

5959
$iterator = new SortableIterator($inner, $mode);
6060

61-
if ($mode === SortableIterator::SORT_BY_ACCESSED_TIME
62-
|| $mode === SortableIterator::SORT_BY_CHANGED_TIME
63-
|| $mode === SortableIterator::SORT_BY_MODIFIED_TIME
61+
if (SortableIterator::SORT_BY_ACCESSED_TIME === $mode
62+
|| SortableIterator::SORT_BY_CHANGED_TIME === $mode
63+
|| SortableIterator::SORT_BY_MODIFIED_TIME === $mode
6464
) {
6565
if ('\\' === DIRECTORY_SEPARATOR && SortableIterator::SORT_BY_MODIFIED_TIME !== $mode) {
6666
$this->markTestSkipped('Sorting by atime or ctime is not supported on Windows');

0 commit comments

Comments
 (0)