Bump phpstan/phpstan from 2.1.29 to 2.1.32 (#20686)

This commit is contained in:
Maksim Spirkov
2025-11-25 18:42:44 +03:00
committed by GitHub
parent c8712e9a94
commit 2025a65a9c
3 changed files with 7 additions and 12 deletions

View File

@@ -1054,14 +1054,14 @@ class ReleaseController extends Controller
$parts = explode('.', $v);
switch ($type) {
case self::MINOR:
$parts[1]++;
$parts[1] = (int) $parts[1] + 1;
$parts[2] = 0;
if (isset($parts[3])) {
unset($parts[3]);
}
break;
case self::PATCH:
$parts[2]++;
$parts[2] = (int) $parts[2] + 1;
if (isset($parts[3])) {
unset($parts[3]);
}