Skip to content

Commit 2025a65

Browse files
authored
Bump phpstan/phpstan from 2.1.29 to 2.1.32 (yiisoft#20686)
1 parent c8712e9 commit 2025a65

File tree

3 files changed

+7
-12
lines changed

3 files changed

+7
-12
lines changed

build/controllers/ReleaseController.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1054,14 +1054,14 @@ protected function getNextVersions(array $versions, $type)
10541054
$parts = explode('.', $v);
10551055
switch ($type) {
10561056
case self::MINOR:
1057-
$parts[1]++;
1057+
$parts[1] = (int) $parts[1] + 1;
10581058
$parts[2] = 0;
10591059
if (isset($parts[3])) {
10601060
unset($parts[3]);
10611061
}
10621062
break;
10631063
case self::PATCH:
1064-
$parts[2]++;
1064+
$parts[2] = (int) $parts[2] + 1;
10651065
if (isset($parts[3])) {
10661066
unset($parts[3]);
10671067
}

composer.lock

Lines changed: 4 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

phpstan-baseline.neon

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,6 +401,6 @@ parameters:
401401
path: framework/caching/WinCache.php
402402

403403
-
404-
message: "#^Argument of an invalid type \\$this\\(yii\\\\caching\\\\Dependency\\) supplied for foreach\\, only iterables are supported\\.$#"
404+
message: "#^Argument of an invalid type static\\(yii\\\\caching\\\\Dependency\\) supplied for foreach\\, only iterables are supported\\.$#"
405405
count: 1
406406
path: framework/caching/Dependency.php

0 commit comments

Comments
 (0)