From 836a884e8b5c9a968ef3888c2bb2eb605ddda512 Mon Sep 17 00:00:00 2001 From: Jun Pataleta Date: Sat, 15 Mar 2025 19:44:00 +0800 Subject: [PATCH] Pass correct parameters for VersionInfo::getNextVersion() --- get_next_version_number.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/get_next_version_number.php b/get_next_version_number.php index 0f9abd0..6a2d651 100644 --- a/get_next_version_number.php +++ b/get_next_version_number.php @@ -44,5 +44,11 @@ $path = rtrim($path, '/') . '/version.php'; $currentVersion = VersionInfo::fromVersionFile($path); -$nextVersion = $currentVersion->getNextVersion($branch, $type, $rc, $date, $isdevbranch); +$nextVersion = $currentVersion->getNextVersion( + branch: $branch, + type: $type, + rc: $rc, + isdevbranch: $isdevbranch, + date: $date, +); echo $nextVersion->release;