diff options
author | Maurício Meneghini Fauth <mauricio@fauth.dev> | 2022-09-13 05:36:07 +0300 |
---|---|---|
committer | Maurício Meneghini Fauth <mauricio@fauth.dev> | 2022-09-13 05:36:07 +0300 |
commit | 5d74cd134e870837c69d71c8e291576f26149958 (patch) | |
tree | e5be51fc4f3c841f4a126a6b7de3a446eb4238ed /psalm-baseline.xml | |
parent | e96fab654df405595b9f42c5a4eba04f80344cc1 (diff) |
Get 'newname' param from ServerRequest object
Instead of the $_POST superglobal in OperationsController and Operations
classes.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
Diffstat (limited to 'psalm-baseline.xml')
-rw-r--r-- | psalm-baseline.xml | 31 |
1 files changed, 3 insertions, 28 deletions
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 @@ <code>$GLOBALS['cfg']['AllowUserDropDatabase']</code> <code>$GLOBALS['cfg']['PmaNoRelation_DisableWarning']</code> </InvalidArrayOffset> - <MixedArgument occurrences="10"> - <code>$GLOBALS['db']</code> - <code>$GLOBALS['db']</code> - <code>$GLOBALS['db']</code> - <code>$GLOBALS['db']</code> - <code>$GLOBALS['db']</code> + <MixedArgument occurrences="1"> <code>$_POST['comment']</code> - <code>$_POST['newname']</code> - <code>$_POST['newname']</code> - <code>$_POST['newname']</code> - <code>$_POST['newname']</code> </MixedArgument> - <MixedArgumentTypeCoercion occurrences="2"> - <code>['db' => $GLOBALS['db']]</code> - <code>['db' => $GLOBALS['db']]</code> - </MixedArgumentTypeCoercion> - <MixedAssignment occurrences="20"> - <code>$GLOBALS['db']</code> - <code>$GLOBALS['db']</code> + <MixedAssignment occurrences="18"> <code>$GLOBALS['db_collation']</code> <code>$GLOBALS['errorUrl']</code> <code>$GLOBALS['export_sql_plugin']</code> @@ -8658,20 +8643,10 @@ </InvalidReturnType> </file> <file src="libraries/classes/Operations.php"> - <MixedArgument occurrences="33"> + <MixedArgument occurrences="23"> <code>$_POST['comment']</code> <code>$_POST['db_collation'] ?? ''</code> <code>$_POST['new_auto_increment']</code> - <code>$_POST['newname']</code> - <code>$_POST['newname']</code> - <code>$_POST['newname']</code> - <code>$_POST['newname']</code> - <code>$_POST['newname']</code> - <code>$_POST['newname']</code> - <code>$_POST['newname']</code> - <code>$_POST['newname']</code> - <code>$_POST['newname']</code> - <code>$_POST['newname']</code> <code>$_POST['prev_comment']</code> <code>$_POST['tbl_collation'] ?? ''</code> <code>$_POST['what']</code> |