Skip to content

Commit afb5b3c

Browse files
Merge branch '3.4'
* 3.4: [CS][2.7] yoda_style, no_unneeded_curly_braces, no_unneeded_final_method, semicolon_after_instruction Reset stopwatch. [Filesystem] mirror - fix copying content with same name as source/target. Removed unnecessary getDefinition() call. .php_cs.dist - simplify config [WebProfilerBundle] fixed TemplateManager when using Twig 2 without compat interfaces
2 parents 713c4f3 + 0b544c9 commit afb5b3c

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)