Translated using Weblate (Slovenian)
[phpmyadmin.git] / phpstan.neon.dist
blob8bc2b162a4c3f5b4d7e868e800f96f73c22812b0
1 parameters:
2     level: 2
3     paths:
4         - %rootDir%/../../../
5     bootstrap: %rootDir%/../../../test/bootstrap-phpstan.php
6     reportUnmatchedIgnoredErrors: true
7     ignoreErrors:
8         - '#Function (get_login_credentials|uploadprogress_get_info) not found#'
9         - '#Instantiated class COM not found#'
10         - '#Call to method ([a-zA-Z\(\)]+) on an unknown class COM#'
11         - '#NodeTrans::__construct\(\) does not call parent constructor#'
12         - '#PHPUnit\\Framework\\MockObject#'
13         - '#Access to an undefined property PhpMyAdmin\\TwoFactor\:\:\$(backend|showSubmit|available|writable)#'
14         - '#Call to an undefined method PhpMyAdmin\\Navigation\\Nodes\\Node\:\:getHiddenCount#'
15         - '#Undefined variable: \$array#'
16         - '#Undefined variable: \$(export_type|err_url|collation_connection|filename_template|transform_key|cn|goto|token_mismatch|auth_plugin|username|hostname|display_query)#'#Others
17         - '#Undefined variable: \$is_upload#'#tbl_change.php
18         - '#Undefined variable: \$max_upload_size#'#tbl_import.php
19         - '#Undefined variable: \$(repobase|fullrevision|revision|repobranchbase|branch)#'#Footer.php
20         - '#Undefined variable: \$(containerBuilder)#'
21         - '#Variable \$_(REQUEST|GET|POST|COOKIE|SESSION) in isset\(\) always exists and is not nullable#'#Sanitize.php
22         - '#Variable \$msg1 might not be defined#'#Twig/I18n/NodeTrans.php
23         - '#Variable \$(foreign_db|foreign_table) might not be defined#'#Relation.php, do while(false) + break
24         - '#Variable \$(sql_query|table|db|cfg|import_type|goto) might not be defined#'# Others
25         - '#Variable \$(sql_query|table|db|cfg|url_query) in isset\(\) always exists and is not nullable#'#Others
26         - '#Variable \$(last_cumulative_type) in isset\(\) always exists and is not nullable#'#Import.php
27         - '#Variable \$(routine|mode|title|message|output|nbResultsetToDisplay|item) might not be defined#'# Rte
28         - '#Variable \$time might not be defined#'#DatabaseInterface.php
29         - '#Variable \$contentPath in isset\(\) always exists and is not nullable#'#DatabaseInterface.php
30         - '#Variable \$default_fk_check_value might not be defined#'#libraries/mult_submits.inc.php
31         - '#Variable \$http_response_header in isset\(\) always exists and is not nullable#'
32         - '#Variable \$(escape_class|escape_method|iconLinks|icons|where_clause|where_clause_html|condition_array|pos_next|pos_prev) might not be defined#'
33         - '#Variable \$(in_table_header|cur_temp_table_headers|cur_temp_table) might not be defined#'#Plugins/Import/ImportMediawiki.php
34         -
35             message: '#Undefined variable: \$action#'
36             path: %currentWorkingDirectory%/libraries/mult_submits.inc.php
37         -
38             message: '#Undefined variable: \$action#'
39             path: %currentWorkingDirectory%/libraries/tbl_columns_definition_form.inc.php
40         -
41             message: '#Undefined variable: \$cfg#'
42             path: %currentWorkingDirectory%/test/classes/ConfigTest.php
43         -
44             message: '#Undefined variable: \$cfg#'
45             path: %currentWorkingDirectory%/test/classes/PmaTestCase.php
46         -
47             message: '#Undefined variable: \$db_is_system_schema#'
48             path: %currentWorkingDirectory%/libraries/classes/Controllers/Table/StructureController.php
49     excludes_analyse:
50         - %rootDir%/../../../test/EnvironmentTest.php
51         - %rootDir%/../../../test/libraries/FilesTest.php
52         - %rootDir%/../../../test/libraries/common/GetCheckboxTest.php
53         - %rootDir%/../../../tmp/*
54         - %rootDir%/../../../twig-templates/*
55         - %rootDir%/../../../vendor/*
56         - %rootDir%/../../../node_modules/*
57         - %rootDir%/../../../test/bootstrap-phpstan.php
58         - %rootDir%/../../../test/doctum-config.php
59         - %rootDir%/../../../themes/*/css/*.css.php
60         - %rootDir%/../../../examples/signon-script.php
61         - %rootDir%/../../../examples/openid.php