From 5d74cd134e870837c69d71c8e291576f26149958 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maur=C3=ADcio=20Meneghini=20Fauth?= Date: Mon, 12 Sep 2022 23:36:07 -0300 Subject: Get 'newname' param from ServerRequest object MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Instead of the $_POST superglobal in OperationsController and Operations classes. Signed-off-by: MaurĂ­cio Meneghini Fauth --- psalm-baseline.xml | 31 +++---------------------------- 1 file changed, 3 insertions(+), 28 deletions(-) (limited to 'psalm-baseline.xml') diff --git a/psalm-baseline.xml b/psalm-baseline.xml index 17521d4cbd..57065882e3 100644 --- a/psalm-baseline.xml +++ b/psalm-baseline.xml @@ -1254,25 +1254,10 @@ $GLOBALS['cfg']['AllowUserDropDatabase'] $GLOBALS['cfg']['PmaNoRelation_DisableWarning'] - - $GLOBALS['db'] - $GLOBALS['db'] - $GLOBALS['db'] - $GLOBALS['db'] - $GLOBALS['db'] + $_POST['comment'] - $_POST['newname'] - $_POST['newname'] - $_POST['newname'] - $_POST['newname'] - - ['db' => $GLOBALS['db']] - ['db' => $GLOBALS['db']] - - - $GLOBALS['db'] - $GLOBALS['db'] + $GLOBALS['db_collation'] $GLOBALS['errorUrl'] $GLOBALS['export_sql_plugin'] @@ -8658,20 +8643,10 @@ - + $_POST['comment'] $_POST['db_collation'] ?? '' $_POST['new_auto_increment'] - $_POST['newname'] - $_POST['newname'] - $_POST['newname'] - $_POST['newname'] - $_POST['newname'] - $_POST['newname'] - $_POST['newname'] - $_POST['newname'] - $_POST['newname'] - $_POST['newname'] $_POST['prev_comment'] $_POST['tbl_collation'] ?? '' $_POST['what'] -- cgit v1.2.3