added more flibiliy for versions, added dry-run option

This commit is contained in:
2023-05-29 15:26:11 +02:00
3 changed files with 3 additions and 3 deletions

@ -119,7 +119,7 @@ class UpdateController
echo "Highest Stable Version: $highestStableVersion" . PHP_EOL;
if (!$this->dryRun) {
echo "Installed Version: $installedVersion" . PHP_EOL;
echo 'Installed Version: '. $this->installedVersion . PHP_EOL;
}
[$major, $minor, $patch] = explode(separator: '.', string: $stableVersions[$highestStableVersion]['current']);