Translated using Weblate (Portuguese (Brazil))
[phpmyadmin.git] / psalm.xml
blob85b905fe1a2b040440e22de89f4b62feaf344cf9
1 <?xml version="1.0"?>
2 <psalm
3     autoloader="tests/bootstrap-static.php"
4     errorLevel="1"
5     reportMixedIssues="true"
6     sealAllMethods="true"
7     resolveFromConfigFile="true"
8     findUnusedBaselineEntry="true"
9     findUnusedCode="true"
10     maxShapedArraySize="200"
11     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
12     xmlns="https://getpsalm.org/schema/config"
13     xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
14     errorBaseline="psalm-baseline.xml"
16     <projectFiles>
17         <directory name="app"/>
18         <directory name="public/setup"/>
19         <directory name="src"/>
20         <directory name="tests/classes"/>
21         <directory name="tests/selenium"/>
22         <file name="public/index.php"/>
23         <ignoreFiles>
24             <directory name="app/cache"/>
25             <directory name="vendor"/>
26         </ignoreFiles>
27         <ignoreFiles allowMissingFiles="true">
28             <file name="config.inc.php"/>
29         </ignoreFiles>
30     </projectFiles>
32     <stubs>
33         <file name="tests/stubs/uploadprogress.stub"/>
34     </stubs>
36     <plugins>
37         <pluginClass class="Psalm\PhpUnitPlugin\Plugin"/>
38     </plugins>
40     <globals>
41         <var name="GLOBALS" type="array{
42             asfile: bool,
43             buffer_needed: bool,
44             cached_affected_rows: int|numeric-string,
45             charset: string,
46             charset_connection: string,
47             codegen_format: 0|1,
48             col_priv: bool,
49             collation_connection: string,
50             complete_query: string,
51             compression: 'none'|'zip'|'gzip',
52             conn_error: string,
53             ConfigFile: PhpMyAdmin\Config\ConfigFile,
54             csv_columns: bool,
55             csv_enclosed: string,
56             csv_escaped: string,
57             csv_separator: string,
58             csv_terminated: string,
59             db_priv: bool,
60             dbs_to_test: string[]|false,
61             display_query: string,
62             errno: int,
63             error: bool,
64             error_message: string,
65             excel_edition: 'win'|'mac_excel2003'|'mac_excel2008',
66             file_handle: resource|null,
67             finished: bool,
68             from_cookie: bool,
69             goto: string,
70             hostname: string,
71             import_file: string,
72             import_file_name: string,
73             import_text: string,
74             is_create_db_priv: bool,
75             is_reload_priv: bool,
76             knjenc: string,
77             lang: string,
78             latex_data_caption: string,
79             latex_data_continued_caption: string,
80             latex_data_label: string,
81             latex_null: string,
82             latex_structure_caption: string,
83             latex_structure_continued_caption: string,
84             latex_structure_label: string,
85             maximum_time: 0|positive-int,
86             maxsize: string,
87             memory_limit: int,
88             message: PhpMyAdmin\Message,
89             ods_buffer: string,
90             odt_buffer: string,
91             offset: int,
92             old_tz: string,
93             onfly_compression: bool,
94             output_charset_conversion: bool,
95             output_kanji_conversion: bool,
96             plugin_param: string|array{export_type: string, single_table: bool},
97             plugin_scripts: string[],
98             pma_auth_server: string,
99             PMA_PHP_SELF: string,
100             proc_priv: bool,
101             querytime: float|int,
102             read_limit: int,
103             save_on_server: bool,
104             SESSION_KEY: string,
105             showtable: array&lt;string, string|null&gt;,
106             sql_compatibility: 'NONE'|'ANSI'|'DB2'|'MAXDB'|'MYSQL323'|'MYSQL40'|'MSSQL'|'ORACLE'|'TRADITIONAL',
107             sql_constraints: string,
108             sql_constraints_query: string,
109             sql_drop_foreign_keys: string,
110             sql_if_not_exists: bool,
111             sql_ignore: bool,
112             sql_insert_syntax: 'complete'|'extended'|'both'|'none',
113             sql_max_query_size: 0|positive-int,
114             sql_query: string,
115             sql_structure_or_data: 'structure'|'data'|'structure_and_data',
116             sql_type: 'INSERT'|'UPDATE'|'REPLACE',
117             table_priv: bool,
118             tbl_storage_engine: string,
119             token_mismatch: bool,
120             token_provided: bool,
121             unparsed_sql?: string,
122             urlParams: array,
123             username: string,
124             xml_export_triggers: bool,
125             xml_export_views: bool
126         }"/>
127     </globals>
128 </psalm>