Ignore $cfg only in ConfigTest and PmaTestCase

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
This commit is contained in:
Maurício Meneghini Fauth 2019-05-14 14:10:15 -03:00
parent 94a18417ee
commit 6aeccaada7

View File

@ -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: \$(cfg|db|table|url_query|text_dir|server|pmaThemeImage|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: \$(db|table|url_query|text_dir|server|pmaThemeImage|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
@ -32,6 +32,12 @@ parameters:
- '#Variable \$http_response_header in isset\(\) always exists and is not nullable#'
- '#Variable \$(escape_class|escape_method|iconLinks|icons|where_clause|where_clause_html|condition_array|pos_next|pos_prev) might not be defined#'
- '#Variable \$(in_table_header|cur_temp_table_headers|cur_temp_table) might not be defined#'#Plugins/Import/ImportMediawiki.php
-
message: '#Undefined variable: \$cfg#'
path: %currentWorkingDirectory%/test/classes/ConfigTest.php
-
message: '#Undefined variable: \$cfg#'
path: %currentWorkingDirectory%/test/classes/PmaTestCase.php
excludes_analyse:
- %rootDir%/../../../test/EnvironmentTest.php
- %rootDir%/../../../test/libraries/FilesTest.php