Translated using Weblate (Turkish)
[phpmyadmin.git] / phpstan.neon
bloba215ac85d6aaec88e45d4c309ea4cb6fc4821b4d
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         - '#NodeTrans::__construct\(\) does not call parent constructor#'
20         - '#GisGeomTestCase::\$object#'
21         - '#Undefined variable: \$array#'
22         - '#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
23         - '#Access to an undefined property PhpMyAdmin\\TwoFactor\:\:\$available#'
24         - '#Undefined variable: \$(replication_types|selected)#'#Controllers/Server/ServerDatabasesController.php
25         - '#Undefined variable: \$authentication_string#'#Server/Privileges.php
26         - '#Undefined variable: \$(dir|error_header|error_message)#'#error.inc.php
27         - '#Undefined variable: \$_PMA_RTE#'#rte/rte_main.inc.php
28         - '#Undefined variable: \$(unsaved_values|is_upload)#'#tbl_change.php
29         - '#Undefined variable: \$max_upload_size#'#tbl_import.php
30         - '#Undefined variable: \$(repobase|fullrevision|revision|repobranchbase|branch)#'#Footer.php
31         - '#Variable \$_(REQUEST|GET|POST|COOKIE|SESSION) in isset\(\) always exists and is not nullable#'#Sanitize.php
32         - '#Variable \$msg1 might not be defined#'#Twig/I18n/NodeTrans.php
33         - '#Variable \$(foreign_db|foreign_table) might not be defined#'#Relation.php, do while(false) + break
34         - '#Variable \$(sql_query|table|db|cfg|import_type|goto) might not be defined#'# Others
35         - '#Variable \$(sql_query|table|db|cfg|url_query) in isset\(\) always exists and is not nullable#'#Others
36         - '#Variable \$(last_cumulative_type) in isset\(\) always exists and is not nullable#'#Import.php
37         - '#Variable \$(authentication_string|Password|password|create_user_real|plugin) is never defined#'#Server/Privileges.php
38         - '#Variable \$(routine|mode|title|message|output|nbResultsetToDisplay|item) might not be defined#'# Rte
39         - '#Variable \$time might not be defined#'#DatabaseInterface.php
40         - '#Variable \$contentPath in isset\(\) always exists and is not nullable#'#DatabaseInterface.php
41         - '#Variable \$server_info might not be defined#'#DatabaseInterface.php
42         # - '#Variable \$single_table always exists and is not nullable#'#Display/ExportTest.php
43         - '#Function mysqli_get_client_info invoked with 0 parameters, 1 required#'#libraries/classes/Dbi/DbiMysqli.php
44         - '#Variable \$default_fk_check_value might not be defined#'#libraries/mult_submits.inc.php
45         - '#Variable \$http_response_header in isset\(\) always exists and is not nullable#'
46         - '#Variable \$(escape_class|escape_method|iconLinks|icons|where_clause|where_clause_html|condition_array|pos_next|pos_prev) might not be defined#'
47         - '#Call to sprintf contains 3 placeholders, 4 values given.#'#libraries/classes/Menu.php, a phpstan bug
48         - '#Variable \$(in_table_header|cur_temp_table_headers|cur_temp_table) might not be defined#'#Plugins/Import/ImportMediawiki.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%/../../../vendor/*
55         - %rootDir%/../../../node_modules/*
56         - %rootDir%/../../../test/bootstrap-phpstan.php
57         - %rootDir%/../../../test/sami-config.php
58         - %rootDir%/../../../themes/*/css/*.css.php
59         - %rootDir%/../../../examples/signon-script.php
60         - %rootDir%/../../../examples/openid.php