Translated using Weblate (German)
[phpmyadmin.git] / psalm.xml
blob36fa7c3288c60b56e1bf600cab8054a3cd02362d
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: string,
60             db_priv: bool,
61             dbs_to_test: string[]|false,
62             display_query: string,
63             errno: int,
64             error: bool,
65             error_message: string,
66             excel_edition: 'win'|'mac_excel2003'|'mac_excel2008',
67             file_handle: resource|null,
68             finished: bool,
69             from_cookie: bool,
70             goto: string,
71             hostname: string,
72             import_file: string,
73             import_file_name: string,
74             import_text: string,
75             is_create_db_priv: bool,
76             is_reload_priv: bool,
77             knjenc: string,
78             lang: string,
79             latex_data_caption: string,
80             latex_data_continued_caption: string,
81             latex_data_label: string,
82             latex_null: string,
83             latex_structure_caption: string,
84             latex_structure_continued_caption: string,
85             latex_structure_label: string,
86             maximum_time: 0|positive-int,
87             maxsize: string,
88             memory_limit: int,
89             message: PhpMyAdmin\Message,
90             ods_buffer: string,
91             odt_buffer: string,
92             offset: int,
93             old_tz: string,
94             onfly_compression: bool,
95             output_charset_conversion: bool,
96             output_kanji_conversion: bool,
97             plugin_param: string|array{export_type: string, single_table: bool},
98             plugin_scripts: string[],
99             pma_auth_server: string,
100             PMA_PHP_SELF: string,
101             proc_priv: bool,
102             querytime: float|int,
103             read_limit: int,
104             save_on_server: bool,
105             server: int,
106             SESSION_KEY: string,
107             showtable: array&lt;string, string|null&gt;,
108             sql_compatibility: 'NONE'|'ANSI'|'DB2'|'MAXDB'|'MYSQL323'|'MYSQL40'|'MSSQL'|'ORACLE'|'TRADITIONAL',
109             sql_constraints: string,
110             sql_constraints_query: string,
111             sql_drop_foreign_keys: string,
112             sql_if_not_exists: bool,
113             sql_ignore: bool,
114             sql_insert_syntax: 'complete'|'extended'|'both'|'none',
115             sql_max_query_size: 0|positive-int,
116             sql_query: string,
117             sql_structure_or_data: 'structure'|'data'|'structure_and_data',
118             sql_type: 'INSERT'|'UPDATE'|'REPLACE',
119             table: string,
120             table_priv: bool,
121             tbl_storage_engine: string,
122             text_dir: string,
123             token_mismatch: bool,
124             token_provided: bool,
125             unparsed_sql?: string,
126             urlParams: array,
127             username: string,
128             xml_export_triggers: bool,
129             xml_export_views: bool
130         }"/>
131     </globals>
132 </psalm>