From 6b461c0fde93ed700c5d2dd24cd4069ec86b9fd5 Mon Sep 17 00:00:00 2001 From: William Desportes Date: Mon, 30 Dec 2019 18:01:46 +0100 Subject: [PATCH] Remove phpstan errors from baseline Ref: bd28a96295a2b53bd4085bae9bddf566b4797306 Ref: 8033c15fe64fc2fc451e0208063168c944fa0453 Ref: f9157f2ac428b63e863dd713d078b6391ce12706 Signed-off-by: William Desportes --- phpstan-baseline.neon | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index a7bbc08210..7b60762482 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -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