diff --git a/tests/Unit/ChangelogTest.php b/tests/Unit/ChangelogTest.php index 1f31c4e50..83aaf9215 100644 --- a/tests/Unit/ChangelogTest.php +++ b/tests/Unit/ChangelogTest.php @@ -172,9 +172,8 @@ public static function provideChangedlogFiles(): iterable ->in(\dirname(__DIR__, 2) . '/src') ->name('CHANGELOG.md'); - /** @var \SplFileInfo $file */ foreach ($finder as $file) { - yield [$file->getRealPath()]; + yield $file->getRelativePath() => [$file->getRealPath()]; } }