Update phpstan

See: https://github.com/phpstan/phpstan/issues/4579
Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
William Desportes 2021-02-21 15:47:16 +01:00
parent f1edbfbf2d
commit aeb1b4d08a
No known key found for this signature in database
GPG Key ID: 90A0EF1B8251A889
2 changed files with 17 additions and 2 deletions

View File

@ -84,7 +84,7 @@
"php-webdriver/webdriver": "^1.8",
"phpmyadmin/coding-standard": "^2.1.1",
"phpstan/extension-installer": "^1.1",
"phpstan/phpstan": "^0.12.77",
"phpstan/phpstan": "^0.12.78",
"phpstan/phpstan-phpunit": "^0.12.17",
"phpunit/phpunit": "^7.5 || ^8.0 || ^9.0",
"pragmarx/google2fa-qrcode": "^1.0.1",

View File

@ -1015,6 +1015,16 @@ parameters:
count: 1
path: libraries/classes/InsertEdit.php
-
message: "#^Cannot call method getInputHtml\\(\\) on class\\-string\\|object\\.$#"
count: 1
path: libraries/classes/InsertEdit.php
-
message: "#^Cannot call method getScripts\\(\\) on class\\-string\\|object\\.$#"
count: 1
path: libraries/classes/InsertEdit.php
-
message: "#^Parameter \\#2 \\$ipToTest of method PhpMyAdmin\\\\IpAllowDeny\\:\\:ipMaskTest\\(\\) expects string, string\\|true given\\.$#"
count: 1
@ -1807,7 +1817,7 @@ parameters:
-
message: "#^Parameter \\#1 \\$table of method PhpMyAdmin\\\\Plugins\\\\Schema\\\\Svg\\\\SvgRelationSchema\\:\\:setMinMax\\(\\) expects PhpMyAdmin\\\\Plugins\\\\Schema\\\\Svg\\\\TableStatsSvg, PhpMyAdmin\\\\Plugins\\\\Schema\\\\Dia\\\\TableStatsDia\\|PhpMyAdmin\\\\Plugins\\\\Schema\\\\Eps\\\\TableStatsEps\\|PhpMyAdmin\\\\Plugins\\\\Schema\\\\Pdf\\\\TableStatsPdf\\|PhpMyAdmin\\\\Plugins\\\\Schema\\\\Svg\\\\TableStatsSvg given\\.$#"
count: 3
count: 1
path: libraries/classes/Plugins/Schema/Svg/SvgRelationSchema.php
-
@ -2240,6 +2250,11 @@ parameters:
count: 1
path: libraries/classes/Types.php
-
message: "#^Offset 'header' does not exist on array\\('proxy' \\=\\> string, 'request_fulluri' \\=\\> true\\)\\.$#"
count: 1
path: libraries/classes/Utils/HttpRequest.php
-
message: "#^Variable \\$http_response_header in isset\\(\\) always exists and is not nullable\\.$#"
count: 1