Skip to content

Commit

Permalink
Merge branch '6.4' into 7.1
Browse files Browse the repository at this point in the history
* 6.4:
  do not base services on PHPUnit mocks
  do not use TestCase::getName() when possible
  do not use assertCount() with generators
  • Loading branch information
xabbuh committed Oct 1, 2024
2 parents 2a2f97f + daea9ec commit 2cb8966
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/Iterator/LazyIteratorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function testDelegate()
{
$iterator = new LazyIterator(fn () => new Iterator(['foo', 'bar']));

$this->assertCount(2, $iterator);
$this->assertCount(2, iterator_to_array($iterator));
}

public function testInnerDestructedAtTheEnd()
Expand Down

0 comments on commit 2cb8966

Please sign in to comment.