Merge pull request #19231 from MauricioFauth/root-test-path-constant
[phpmyadmin.git] / psalm.xml
blobc3a7ff0cd8e3552a47df269c24ae7c462e1300d0
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/end-to-end"/>
21         <directory name="tests/unit"/>
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             collation_connection: string,
49             complete_query: string,
50             compression: 'none'|'zip'|'gzip',
51             conn_error: string,
52             csv_columns: bool,
53             csv_enclosed: string,
54             csv_escaped: string,
55             csv_separator: string,
56             csv_terminated: string,
57             display_query: string,
58             errno: int,
59             error: bool,
60             error_message: string,
61             excel_edition: 'win'|'mac_excel2003'|'mac_excel2008',
62             file_handle: resource|null,
63             finished: bool,
64             from_cookie: bool,
65             goto: string,
66             hostname: string,
67             import_file: string,
68             import_file_name: string,
69             import_text: string,
70             knjenc: string,
71             lang: string,
72             latex_data_caption: string,
73             latex_data_continued_caption: string,
74             latex_data_label: string,
75             latex_null: string,
76             latex_structure_caption: string,
77             latex_structure_continued_caption: string,
78             latex_structure_label: string,
79             maximum_time: 0|positive-int,
80             maxsize: string,
81             memory_limit: int,
82             message: PhpMyAdmin\Message,
83             ods_buffer: string,
84             odt_buffer: string,
85             offset: int,
86             old_tz: string,
87             onfly_compression: bool,
88             output_charset_conversion: bool,
89             output_kanji_conversion: bool,
90             plugin_param: array{export_type: string, single_table: bool},
91             plugin_scripts: string[],
92             pma_auth_server: string,
93             PMA_PHP_SELF: string,
94             querytime: float|int,
95             read_limit: int,
96             save_on_server: bool,
97             SESSION_KEY: string,
98             showtable: array&lt;string, string|null&gt;,
99             sql_compatibility: 'NONE'|'ANSI'|'DB2'|'MAXDB'|'MYSQL323'|'MYSQL40'|'MSSQL'|'ORACLE'|'TRADITIONAL',
100             sql_constraints: string,
101             sql_constraints_query: string,
102             sql_drop_foreign_keys: string,
103             sql_if_not_exists: bool,
104             sql_ignore: bool,
105             sql_insert_syntax: 'complete'|'extended'|'both'|'none',
106             sql_max_query_size: 0|positive-int,
107             sql_query: string,
108             sql_structure_or_data: 'structure'|'data'|'structure_and_data',
109             sql_type: 'INSERT'|'UPDATE'|'REPLACE',
110             tbl_storage_engine: string,
111             token_mismatch: bool,
112             token_provided: bool,
113             urlParams: array,
114             username: string,
115             xml_export_triggers: bool,
116             xml_export_views: bool
117         }"/>
118     </globals>
119 </psalm>