From 52f5880c2498cf400baf413a0b9a222defc2f3c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maur=C3=ADcio=20Meneghini=20Fauth?= Date: Fri, 11 Oct 2024 15:32:36 -0300 Subject: [PATCH] Update SA baselines MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: MaurĂ­cio Meneghini Fauth --- phpstan-baseline.neon | 5 ----- psalm-baseline.xml | 5 +++-- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index a397e806f7..f8d6dffb0a 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -2750,11 +2750,6 @@ parameters: count: 1 path: libraries/classes/DatabaseInterface.php - - - message: "#^Parameter \\#1 \\$eachTables of static method PhpMyAdmin\\\\Query\\\\Compatibility\\:\\:getISCompatForGetTablesFull\\(\\) expects array, array\\|false given\\.$#" - count: 1 - path: libraries/classes/DatabaseInterface.php - - message: "#^Parameter \\#1 \\$input of function array_slice expects array, array\\|false given\\.$#" count: 1 diff --git a/psalm-baseline.xml b/psalm-baseline.xml index 8ab678189e..fa4e5af576 100644 --- a/psalm-baseline.xml +++ b/psalm-baseline.xml @@ -8100,7 +8100,7 @@ $whereClause $whereClause $whereClause - min(max($column['len'], 4), $GLOBALS['cfg']['LimitChars']) + min(max($column['len'] * 2, 4), $GLOBALS['cfg']['LimitChars']) $keyId @@ -8193,7 +8193,8 @@ new $className() new $className() - + + $column['len'] $column['pma_type'] $file $maxlength