// Move the existing cache to a temporary new location prior to deletion, so it won't be written to in the meantime
$fileSystem->rename($dir, $tempFileName);
/**
* Prepare the list of changelog files which need to process
*/ protectedfunctionprepareChangelogFiles(?string $version = null, bool $includeFeatureFlags = false): ChangelogFileCollection { $entries = newChangelogFileCollection();