diff --git a/build/controllers/ReleaseController.php b/build/controllers/ReleaseController.php index 56f078a7ac..4ffa7142f0 100644 --- a/build/controllers/ReleaseController.php +++ b/build/controllers/ReleaseController.php @@ -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]); } diff --git a/composer.lock b/composer.lock index 7a4ec38750..e9658077f6 100644 --- a/composer.lock +++ b/composer.lock @@ -769,16 +769,11 @@ }, { "name": "phpstan/phpstan", - "version": "2.1.29", - "source": { - "type": "git", - "url": "https://github.com/phpstan/phpstan-phar-composer-source.git", - "reference": "git" - }, + "version": "2.1.32", "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/d618573eed4a1b6b75e37b2e0b65ac65c885d88e", - "reference": "d618573eed4a1b6b75e37b2e0b65ac65c885d88e", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/e126cad1e30a99b137b8ed75a85a676450ebb227", + "reference": "e126cad1e30a99b137b8ed75a85a676450ebb227", "shasum": "" }, "require": { @@ -823,7 +818,7 @@ "type": "github" } ], - "time": "2025-09-25T06:58:18+00:00" + "time": "2025-11-11T15:18:17+00:00" }, { "name": "phpunit/php-code-coverage", diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index 950aceea90..1eaafb3609 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -401,6 +401,6 @@ parameters: path: framework/caching/WinCache.php - - message: "#^Argument of an invalid type \\$this\\(yii\\\\caching\\\\Dependency\\) supplied for foreach\\, only iterables are supported\\.$#" + message: "#^Argument of an invalid type static\\(yii\\\\caching\\\\Dependency\\) supplied for foreach\\, only iterables are supported\\.$#" count: 1 path: framework/caching/Dependency.php