From 3cc61d6e1662b73291241c4bcc30e81fb1546cdf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Deruss=C3=A9?= Date: Fri, 7 Nov 2025 17:22:19 +0100 Subject: [PATCH] Fix provider when branch is not master --- tests/Unit/ChangelogTest.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/Unit/ChangelogTest.php b/tests/Unit/ChangelogTest.php index 15e24855b..f34a8b60e 100644 --- a/tests/Unit/ChangelogTest.php +++ b/tests/Unit/ChangelogTest.php @@ -190,7 +190,9 @@ static function ($branch) { ); if (0 === \count($branches)) { - yield [null, null, null]; + yield ['', '', false]; + + return; } usort($branches, static function ($a, $b) {