mirror of
https://github.com/yiisoft/yii2.git
synced 2025-12-12 09:20:57 +08:00
Bump phpstan/phpstan from 2.1.29 to 2.1.32 (#20686)
This commit is contained in:
@@ -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]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user