Skip to content

Commit

Permalink
Merge branch '7.1' into 7.2
Browse files Browse the repository at this point in the history
* 7.1:
  relax assertions on generated hashes
  [Messenger] ensure exception on rollback does not hide previous exception
  require the writer to implement getFormats() in the translation:extract
  don't require fake notifier transports to be installed as non-dev dependencies
  Remove 5.4 branch from PR template
  [Scheduler] Fix optional count variable in testGetNextRunDates
  • Loading branch information
xabbuh committed Dec 19, 2024
2 parents 38b8c09 + 159b299 commit 78add01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tests/Trigger/PeriodicalTriggerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,9 @@ public static function provideForToString()
/**
* @dataProvider providerGetNextRunDates
*/
public function testGetNextRunDates(\DateTimeImmutable $from, TriggerInterface $trigger, array $expected, int $count = 0)
public function testGetNextRunDates(\DateTimeImmutable $from, TriggerInterface $trigger, array $expected, int $count)
{
$this->assertEquals($expected, $this->getNextRunDates($from, $trigger, $count ?? \count($expected)));
$this->assertEquals($expected, $this->getNextRunDates($from, $trigger, $count));
}

public static function providerGetNextRunDates(): iterable
Expand Down

0 comments on commit 78add01

Please sign in to comment.