Update PHPStan

Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
This commit is contained in:
Kamil Tekiela 2025-09-12 14:57:28 +01:00
parent a988fda733
commit 79830ce9cd
2 changed files with 5 additions and 29 deletions

10
composer.lock generated
View File

@ -5444,16 +5444,16 @@
},
{
"name": "phpstan/phpstan",
"version": "2.1.23",
"version": "2.1.25",
"source": {
"type": "git",
"url": "https://github.com/phpstan/phpstan.git",
"reference": "a34502adbbd5c2366b5a97679848a5ace4f6f2f5"
"reference": "4087d28bd252895874e174d65e26b2c202ed893a"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/phpstan/phpstan/zipball/a34502adbbd5c2366b5a97679848a5ace4f6f2f5",
"reference": "a34502adbbd5c2366b5a97679848a5ace4f6f2f5",
"url": "https://api.github.com/repos/phpstan/phpstan/zipball/4087d28bd252895874e174d65e26b2c202ed893a",
"reference": "4087d28bd252895874e174d65e26b2c202ed893a",
"shasum": ""
},
"require": {
@ -5498,7 +5498,7 @@
"type": "github"
}
],
"time": "2025-09-10T11:42:22+00:00"
"time": "2025-09-12T14:26:42+00:00"
},
{
"name": "phpstan/phpstan-deprecation-rules",

View File

@ -5745,12 +5745,6 @@ parameters:
count: 2
path: src/Display/Results.php
-
message: '#^Offset int\|string might not exist on non\-empty\-list\<string\|null\>\.$#'
identifier: offsetAccess.notFound
count: 4
path: src/Display/Results.php
-
message: '#^Only booleans are allowed in &&, array\<mixed\>\|bool given on the left side\.$#'
identifier: booleanAnd.leftNotBoolean
@ -12948,12 +12942,6 @@ parameters:
count: 1
path: src/Server/Privileges.php
-
message: '#^Possibly invalid array key type mixed\.$#'
identifier: offsetAccess.invalidOffset
count: 1
path: src/Server/Privileges.php
-
message: '''
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
@ -14676,12 +14664,6 @@ parameters:
count: 1
path: src/Url.php
-
message: '#^Possibly invalid array key type mixed\.$#'
identifier: offsetAccess.invalidOffset
count: 2
path: src/Url.php
-
message: '''
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Dbal\\DatabaseInterface\:
@ -18732,12 +18714,6 @@ parameters:
count: 1
path: tests/unit/Theme/ThemeManagerTest.php
-
message: '#^Casting to int something that''s already int\<0, max\>\.$#'
identifier: cast.useless
count: 1
path: tests/unit/Theme/ThemeTest.php
-
message: '''
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\: