Skip to content
Permalink
Browse files

Remove $text_dir global from PHPStan ignored errors

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
  • Loading branch information...
mauriciofauth committed May 14, 2019
1 parent f19ab9a commit e2f66cf9e49a49b8614ffaf3b20dfbaa74971605
Showing with 7 additions and 5 deletions.
  1. +1 −1 db_tracking.php
  2. +1 −1 phpstan.neon.dist
  3. +1 −1 server_privileges.php
  4. +1 −1 tbl_change.php
  5. +1 −1 tbl_tracking.php
  6. +2 −0 view_create.php
@@ -19,7 +19,7 @@
define('ROOT_PATH', __DIR__ . DIRECTORY_SEPARATOR);
}
global $db, $pmaThemeImage;
global $db, $pmaThemeImage, $text_dir;
require_once ROOT_PATH . 'libraries/common.inc.php';
@@ -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: \$(url_query|text_dir|server|action|sql_query|lang|export_type|err_url|collation_connection|filename_template|transform_key|cn|goto|partitionDetails|token_mismatch|auth_plugin|username|hostname|display_query|where_clause)#'#Others
- '#Undefined variable: \$(url_query|server|action|sql_query|lang|export_type|err_url|collation_connection|filename_template|transform_key|cn|goto|partitionDetails|token_mismatch|auth_plugin|username|hostname|display_query|where_clause)#'#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
@@ -23,7 +23,7 @@
define('ROOT_PATH', __DIR__ . DIRECTORY_SEPARATOR);
}
global $db, $pmaThemeImage;
global $db, $pmaThemeImage, $text_dir;
require_once ROOT_PATH . 'libraries/common.inc.php';
@@ -20,7 +20,7 @@
define('ROOT_PATH', __DIR__ . DIRECTORY_SEPARATOR);
}
global $cfg, $db, $table;
global $cfg, $db, $table, $text_dir;
require_once ROOT_PATH . 'libraries/common.inc.php';
@@ -16,7 +16,7 @@
define('ROOT_PATH', __DIR__ . DIRECTORY_SEPARATOR);
}
global $pmaThemeImage;
global $pmaThemeImage, $text_dir;
require_once ROOT_PATH . 'libraries/common.inc.php';
@@ -21,6 +21,8 @@
define('ROOT_PATH', __DIR__ . DIRECTORY_SEPARATOR);
}
global $text_dir;
require_once ROOT_PATH . 'libraries/common.inc.php';
require ROOT_PATH . 'libraries/db_common.inc.php';

0 comments on commit e2f66cf

Please sign in to comment.
You can’t perform that action at this time.