From 1a781a0898c413b0b6b7ab9a75f9d52e6c4a264e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maur=C3=ADcio=20Meneghini=20Fauth?= Date: Thu, 23 May 2024 18:44:22 -0300 Subject: [PATCH] Update PHPStan baseline 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 | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index 9839c0c226..4cd0e13457 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -350,11 +350,6 @@ parameters: count: 1 path: libraries/classes/Config/ConfigFile.php - - - message: "#^Empty array passed to foreach\\.$#" - count: 1 - path: libraries/classes/Config/Form.php - - message: "#^Method PhpMyAdmin\\\\Config\\\\Form\\:\\:__construct\\(\\) has parameter \\$form with no value type specified in iterable type array\\.$#" count: 1 @@ -1565,6 +1560,11 @@ parameters: count: 1 path: libraries/classes/Controllers/Table/ReplaceController.php + - + message: "#^Parameter \\#5 \\$relationFieldValue of method PhpMyAdmin\\\\InsertEdit\\:\\:getLinkForRelationalDisplayField\\(\\) expects string, mixed given\\.$#" + count: 1 + path: libraries/classes/Controllers/Table/ReplaceController.php + - message: "#^Variable \\$extra_data might not be defined\\.$#" count: 1 @@ -9015,6 +9015,11 @@ parameters: count: 1 path: libraries/classes/Util.php + - + message: "#^Offset int\\<1, 6\\> on array\\{string, string, string, string, string, string, string\\} in isset\\(\\) always exists and is not nullable\\.$#" + count: 1 + path: libraries/classes/Util.php + - message: "#^Parameter \\#1 \\$row of static method PhpMyAdmin\\\\Util\\:\\:getConditionValue\\(\\) expects float\\|int\\|string\\|null, mixed given\\.$#" count: 1