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