Merge pull request #19845 from MoonE/fix-lint

Fix linting errors
This commit is contained in:
Maurício Meneghini Fauth 2025-09-05 20:57:26 -03:00 committed by GitHub
commit 8a09f7e8f8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 13 additions and 6 deletions

View File

@ -38155,6 +38155,11 @@ parameters:
count: 2
path: libraries/classes/Utils/HttpRequest.php
-
message: "#^Cannot access offset 0 on mixed\\.$#"
count: 1
path: libraries/classes/Utils/HttpRequest.php
-
message: "#^Method PhpMyAdmin\\\\Utils\\\\HttpRequest\\:\\:handleContext\\(\\) has parameter \\$context with no value type specified in iterable type array\\.$#"
count: 1
@ -38190,6 +38195,11 @@ parameters:
count: 1
path: libraries/classes/Utils/HttpRequest.php
-
message: "#^Parameter \\#2 \\$subject of function preg_match expects string, mixed given\\.$#"
count: 1
path: libraries/classes/Utils/HttpRequest.php
-
message: "#^Property PhpMyAdmin\\\\Utils\\\\HttpRequest\\:\\:\\$proxyPass \\(string\\) does not accept mixed\\.$#"
count: 1
@ -38205,11 +38215,6 @@ parameters:
count: 1
path: libraries/classes/Utils/HttpRequest.php
-
message: "#^Variable \\$http_response_header in isset\\(\\) always exists and is not nullable\\.$#"
count: 1
path: libraries/classes/Utils/HttpRequest.php
-
message: "#^Cannot access offset 'Server' on mixed\\.$#"
count: 1

View File

@ -14485,9 +14485,10 @@
<MixedArgument occurrences="1">
<code>$httpStatus</code>
</MixedArgument>
<MixedAssignment occurrences="2">
<MixedAssignment occurrences="3">
<code>$context['http']['content']</code>
<code>$httpStatus</code>
<code>$http_response_header</code>
</MixedAssignment>
<MixedInferredReturnType occurrences="1">
<code>string|bool|null</code>

View File

@ -167,6 +167,7 @@ SQL
ALTER TABLE `test_table`
CHANGE `note` `note` varchar(100) DEFAULT NULL AFTER `id`
SQL
,
],
];
}