Remove $sql_query global from PHPStan ignore list
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
This commit is contained in:
parent
1bd73da1d9
commit
4e5bd7cb85
@ -24,7 +24,7 @@ if (! defined('ROOT_PATH')) {
|
||||
define('ROOT_PATH', __DIR__ . DIRECTORY_SEPARATOR);
|
||||
}
|
||||
|
||||
global $db;
|
||||
global $db, $sql_query;
|
||||
|
||||
include_once ROOT_PATH . 'libraries/common.inc.php';
|
||||
|
||||
|
||||
@ -136,6 +136,8 @@ class StructureController extends AbstractController
|
||||
*/
|
||||
public function indexAction()
|
||||
{
|
||||
global $sql_query;
|
||||
|
||||
PageSettings::showGroup('TableStructure');
|
||||
|
||||
$checkUserPrivileges = new CheckUserPrivileges($this->dbi);
|
||||
|
||||
@ -15,7 +15,7 @@ parameters:
|
||||
- '#Access to an undefined property PhpMyAdmin\\TwoFactor\:\:\$(backend|showSubmit|available|writable)#'
|
||||
- '#Call to an undefined method PhpMyAdmin\\Navigation\\Nodes\\Node\:\:getHiddenCount#'
|
||||
- '#Undefined variable: \$array#'
|
||||
- '#Undefined variable: \$(sql_query|export_type|err_url|collation_connection|filename_template|transform_key|cn|goto|token_mismatch|auth_plugin|username|hostname|display_query)#'#Others
|
||||
- '#Undefined variable: \$(export_type|err_url|collation_connection|filename_template|transform_key|cn|goto|token_mismatch|auth_plugin|username|hostname|display_query)#'#Others
|
||||
- '#Undefined variable: \$(unsaved_values|is_upload)#'#tbl_change.php
|
||||
- '#Undefined variable: \$max_upload_size#'#tbl_import.php
|
||||
- '#Undefined variable: \$(repobase|fullrevision|revision|repobranchbase|branch)#'#Footer.php
|
||||
|
||||
@ -15,7 +15,7 @@ if (! defined('ROOT_PATH')) {
|
||||
define('ROOT_PATH', __DIR__ . DIRECTORY_SEPARATOR);
|
||||
}
|
||||
|
||||
global $db, $pmaThemeImage, $table;
|
||||
global $db, $pmaThemeImage, $sql_query, $table;
|
||||
|
||||
require_once ROOT_PATH . 'libraries/common.inc.php';
|
||||
|
||||
|
||||
@ -21,7 +21,7 @@ if (! defined('ROOT_PATH')) {
|
||||
define('ROOT_PATH', __DIR__ . DIRECTORY_SEPARATOR);
|
||||
}
|
||||
|
||||
global $url_query;
|
||||
global $sql_query, $url_query;
|
||||
|
||||
require_once ROOT_PATH . 'libraries/common.inc.php';
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user