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]);
}

13
composer.lock generated
View File

@@ -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",

View File

@@ -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