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