Translated using Weblate (Estonian)
[phpmyadmin.git] / phpstan.neon
blob6c8e7e39d3fc18bda2c26c20c326a1f559022e4f
1 parameters:
2     level: 1
3     paths:
4         - %rootDir%/../../../
5     bootstrap: %rootDir%/../../../test/bootstrap-phpstan.php
6     reportUnmatchedIgnoredErrors: false
7     ignoreErrors:
8         - '#Unexpected token "&", expected TOKEN_VARIABLE at offset#'
9         - '#Maximum function nesting level of#'
10         - '#Method PHPUnit_Extensions_Selenium2TestCase::#'
11         - '#::byPartialLinkText#'
12         - '#Function strpos invoked with 0 parameters, 2-3 required#'
13         - '#ChangePasswordTest::byXpath()#'
14         - '#Function (get_login_credentials|uploadprogress_get_info) not found#'
15         - '#Function mysql_(connect|close) not found#'
16         - '#Instantiated class COM not found#'
17         - '#Function (escape|PMA_gradientGetColor|recode_string|apc_fetch) not found#'
18         - '#TableStructureController has an unused parameter#'
19         - '#RelationCleanupDbiMock::__construct\(\) does not call parent constructor#'
20         - '#NodeTrans::__construct\(\) does not call parent constructor#'
21         - '#GisGeomTestCase::\$object#'
22         - '#Undefined variable: \$array#'
23         - '#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
24         - '#Access to an undefined property PhpMyAdmin\\TwoFactor\:\:\$available#'
25         - '#Undefined variable: \$(replication_types|selected)#'#Controllers/Server/ServerDatabasesController.php
26         - '#Undefined variable: \$authentication_string#'#Server/Privileges.php
27         - '#Undefined variable: \$(dir|error_header|error_message)#'#error.inc.php
28         - '#Undefined variable: \$_PMA_RTE#'#rte/rte_main.inc.php
29         - '#Undefined variable: \$(unsaved_values|is_upload)#'#tbl_change.php
30         - '#Undefined variable: \$max_upload_size#'#tbl_import.php
31         - '#Undefined variable: \$(repobase|fullrevision|revision|repobranchbase|branch)#'#Footer.php
32         - '#Variable \$_(REQUEST|GET|POST|COOKIE|SESSION) in isset\(\) always exists and is not nullable#'#Sanitize.php
33         - '#Variable \$msg1 might not be defined#'#Twig/I18n/NodeTrans.php
34         - '#Variable \$(foreign_db|foreign_table) might not be defined#'#Relation.php, do while(false) + break
35         - '#Variable \$(sql_query|table|db|cfg|import_type|goto) might not be defined#'# Others
36         - '#Variable \$(sql_query|table|db|cfg|url_query) in isset\(\) always exists and is not nullable#'#Others
37         - '#Variable \$(last_cumulative_type) in isset\(\) always exists and is not nullable#'#Import.php
38         - '#Variable \$(authentication_string|Password|password|create_user_real|plugin) is never defined#'#Server/Privileges.php
39         - '#Variable \$(routine|mode|title|message|output|nbResultsetToDisplay|item) might not be defined#'# Rte
40         - '#Variable \$time might not be defined#'#DatabaseInterface.php
41         - '#Variable \$contentPath in isset\(\) always exists and is not nullable#'#DatabaseInterface.php
42         - '#Variable \$server_info might not be defined#'#DatabaseInterface.php
43         # - '#Variable \$single_table always exists and is not nullable#'#Display/ExportTest.php
44         - '#Function mysqli_get_client_info invoked with 0 parameters, 1 required#'#libraries/classes/Dbi/DbiMysqli.php
45         - '#Variable \$default_fk_check_value might not be defined#'#libraries/mult_submits.inc.php
46         - '#Variable \$http_response_header in isset\(\) always exists and is not nullable#'
47         - '#Variable \$(escape_class|escape_method|iconLinks|icons|where_clause|where_clause_html|condition_array|pos_next|pos_prev) might not be defined#'
48         - '#Call to sprintf contains 3 placeholders, 4 values given.#'#libraries/classes/Menu.php, a phpstan bug
49         - '#Variable \$(in_table_header|cur_temp_table_headers|cur_temp_table) might not be defined#'#Plugins/Import/ImportMediawiki.php
50     excludes_analyse:
51         - %rootDir%/../../../test/EnvironmentTest.php
52         - %rootDir%/../../../test/libraries/FilesTest.php
53         - %rootDir%/../../../test/libraries/common/GetCheckboxTest.php
54         - %rootDir%/../../../tmp/*
55         - %rootDir%/../../../vendor/*
56         - %rootDir%/../../../node_modules/*
57         - %rootDir%/../../../test/bootstrap-phpstan.php
58         - %rootDir%/../../../test/sami-config.php
59         - %rootDir%/../../../themes/*/css/*.css.php
60         - %rootDir%/../../../examples/signon-script.php
61         - %rootDir%/../../../examples/openid.php