Remove phpstan errors from baseline

Ref: bd28a96295
Ref: 8033c15fe6
Ref: f9157f2ac4

Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
William Desportes 2019-12-30 18:01:46 +01:00
parent 205790f6bd
commit 6b461c0fde
No known key found for this signature in database
GPG Key ID: 90A0EF1B8251A889

View File

@ -347,11 +347,6 @@ parameters:
count: 1
path: libraries/classes/Controllers/Database/QueryByExampleController.php
-
message: "#^Parameter \\#1 \\$string of function strlen expects string, int\\|string given\\.$#"
count: 4
path: libraries/classes/Controllers/Database/StructureController.php
-
message: "#^Parameter \\#4 \\$formatted_size of method PhpMyAdmin\\\\Controllers\\\\Database\\\\StructureController\\:\\:getValuesForAriaTable\\(\\) expects int, string given\\.$#"
count: 1
@ -742,11 +737,6 @@ parameters:
count: 1
path: libraries/classes/DatabaseInterface.php
-
message: "#^Parameter \\#3 \\$length of function substr expects int, int\\|false given\\.$#"
count: 2
path: libraries/classes/DatabaseInterface.php
-
message: "#^Parameter \\#1 \\$column of method PhpMyAdmin\\\\Index\\:\\:hasColumn\\(\\) expects string, int\\|string given\\.$#"
count: 1
@ -2812,21 +2802,6 @@ parameters:
count: 1
path: libraries/classes/StorageEngine.php
-
message: "#^Parameter \\#1 \\$str of function mb_substr expects string, string\\|false given\\.$#"
count: 1
path: libraries/classes/SysInfoLinux.php
-
message: "#^Parameter \\#3 \\$length of function mb_substr expects int\\|null, int\\|false given\\.$#"
count: 1
path: libraries/classes/SysInfoLinux.php
-
message: "#^Parameter \\#1 \\$haystack of function mb_strpos expects string, string\\|false given\\.$#"
count: 1
path: libraries/classes/SysInfoLinux.php
-
message: "#^Parameter \\#2 \\$subject of function preg_match_all expects string, string\\|false given\\.$#"
count: 1