Translated using Weblate (Slovenian)
[phpmyadmin.git] / psalm.xml
blobc3fd845daf8bfb6d71ef4b0934722fa6fe4d73d7
1 <?xml version="1.0"?>
2 <psalm
3     autoloader="test/bootstrap-static.php"
4     errorLevel="1"
5     reportMixedIssues="true"
6     sealAllMethods="true"
7     resolveFromConfigFile="true"
8     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
9     xmlns="https://getpsalm.org/schema/config"
10     xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
11     errorBaseline="psalm-baseline.xml"
13     <projectFiles>
14         <directory name="libraries"/>
15         <directory name="setup"/>
16         <directory name="test/classes"/>
17         <directory name="test/selenium"/>
18         <file name="js/messages.php"/>
19         <file name="index.php"/>
20         <file name="show_config_errors.php"/>
21         <file name="url.php"/>
22         <ignoreFiles>
23             <directory name="vendor"/>
24             <directory name="libraries/cache"/>
25         </ignoreFiles>
26     </projectFiles>
28     <stubs>
29         <file name="test/stubs/uploadprogress.stub"/>
30     </stubs>
32     <plugins>
33         <pluginClass class="Psalm\PhpUnitPlugin\Plugin"/>
34     </plugins>
36     <globals>
37         <var name="GLOBALS" type="array{
38             asfile: bool,
39             buffer_needed: bool,
40             cached_affected_rows: int|numeric-string,
41             cfg: array{
42                 AllowArbitraryServer: bool,
43                 AllowThirdPartyFraming: bool|'sameorigin',
44                 ArbitraryServerRegexp: string,
45                 AvailableCharsets: string[],
46                 BrowseMarkerEnable: bool,
47                 BrowsePointerEnable: bool,
48                 BrowseMIME: bool,
49                 BZipDump: bool,
50                 CaptchaApi: string,
51                 CaptchaLoginPublicKey: string,
52                 CaptchaRequestParam: string,
53                 CaptchaResponseParam: string,
54                 CharEditing: 'input'|'textarea',
55                 CharTextareaCols: positive-int,
56                 CharTextareaRows: positive-int,
57                 CodemirrorEnable: bool,
58                 CompressOnFly: bool,
59                 Confirm: bool,
60                 ConsoleEnterExecutes: bool,
61                 DBG: array{sql: bool, sqllog: bool, demo: bool, simple2fa: bool},
62                 DefaultForeignKeyChecks: 'default'|'enable'|'disable',
63                 DefaultQueryDatabase: string,
64                 DefaultQueryTable: string,
65                 DefaultTabDatabase: 'structure'|'sql'|'search'|'operations',
66                 DefaultTabServer: 'welcome'|'databases'|'status'|'variables'|'privileges',
67                 DefaultTabTable: 'structure'|'sql'|'search'|'insert'|'browse',
68                 DefaultTransformations: array{
69                     Bool2Text: array{string, string},
70                     DateFormat: array{0|positive-int, string, 'local'|'utc'},
71                     External: array{int, string, int, int},
72                     Hex: array{0|positive-int},
73                     Inline: array{0: 0|positive-int, 1: 0|positive-int, wrapper_link: string|null, wrapper_params: array&lt;array-key, string&gt;},
74                     PreApPend: array{string, string},
75                     Substring: array{0|positive-int, 'all'|int, string},
76                     TextImageLink: array{string|null, 0|positive-int, 0|positive-int},
77                     TextLink: array{string|null, string|null, bool|null}
78                 },
79                 DisableMultiTableMaintenance: bool,
80                 DisplayServersList: bool,
81                 enable_drag_drop_import: bool,
82                 ExecTimeLimit: 0|positive-int,
83                 FirstLevelNavigationItems: positive-int,
84                 ForeignKeyDropdownOrder: array{0: 'content-id'|'id-content', 1?: 'content-id'|'id-content'},
85                 ForeignKeyMaxLimit: positive-int,
86                 GridEditing: 'double-click'|'click'|'disabled',
87                 GZipDump: bool,
88                 HideStructureActions: bool,
89                 IgnoreMultiSubmitErrors: bool,
90                 Import: array,
91                 InitialSlidersState: 'open'|'closed'|'disabled',
92                 InsertRows: positive-int,
93                 LimitChars: positive-int,
94                 LinkLengthLimit: positive-int,
95                 LintEnable: bool,
96                 LoginCookieDeleteAll: bool,
97                 LoginCookieRecall: bool,
98                 LoginCookieStore: 0|positive-int,
99                 LoginCookieValidity: positive-int,
100                 LongtextDoubleTextarea: bool,
101                 MaxDbList: positive-int,
102                 MaxCharactersInDisplayedSQL: positive-int,
103                 MaxExactCount: positive-int,
104                 MaxExactCountViews: 0|positive-int,
105                 MaxNavigationItems: positive-int,
106                 MaxTableList: positive-int,
107                 maxRowPlotLimit: positive-int,
108                 MaxRows: positive-int,
109                 MaxSizeForInputField: positive-int,
110                 MinSizeForInputField: 0|positive-int,
111                 MysqlMinVersion: array{internal: int, human: string},
112                 MysqlSslWarningSafeHosts: string[],
113                 NaturalOrder: bool,
114                 NavigationLinkWithMainPanel: bool,
115                 NavigationTreeDbSeparator: string,
116                 NavigationTreeDefaultTabTable: 'structure'|'sql'|'search'|'insert'|'browse',
117                 NavigationTreeDefaultTabTable2: 'structure'|'sql'|'search'|'insert'|'browse'|'',
118                 NavigationTreeDisplayDbFilterMinimum: positive-int,
119                 NavigationTreeDisplayItemFilterMinimum: positive-int,
120                 NavigationTreeEnableExpansion: bool,
121                 NavigationTreeEnableGrouping: bool,
122                 NavigationTreeShowEvents: bool,
123                 NavigationTreeShowFunctions: bool,
124                 NavigationTreeShowProcedures: bool,
125                 NavigationTreeShowTables: bool,
126                 NavigationTreeShowViews: bool,
127                 NavigationTreeTableLevel: positive-int,
128                 NavigationTreeTableSeparator: string|string[]|false,
129                 NumFavoriteTables: 0|positive-int,
130                 NumRecentTables: 0|positive-int,
131                 OBGzip: 'auto'|bool,
132                 PDFDefaultPageSize: string,
133                 PDFPageSizes: string[],
134                 PersistentConnections: bool,
135                 PropertiesNumColumns: positive-int,
136                 ProtectBinary: 'blob'|'noblob'|'all'|false,
137                 QueryHistoryDB: bool,
138                 QueryHistoryMax: positive-int,
139                 RelationalDisplay: 'K'|'D',
140                 RememberSorting: bool,
141                 RepeatCells: 0|positive-int,
142                 ReservedWordDisableWarning: bool,
143                 RetainQueryBox: bool,
144                 RowActionLinks: 'left'|'right'|'both'|'none',
145                 RowActionLinksWithoutUnique: bool,
146                 SaveCellsAtOnce: bool,
147                 SendErrorReports: 'ask'|'always'|'never',
148                 Server: array{
149                     auth_type: 'config'|'http'|'signon'|'cookie',
150                     bookmarktable: string|false,
151                     central_columns: string|false,
152                     column_info: string|false,
153                     designer_settings: string|false,
154                     DisableIS: bool,
155                     export_templates: string|false,
156                     favorite: string|false,
157                     history: string|false,
158                     host: string,
159                     MaxTableUiprefs: positive-int,
160                     navigationhiding: string|false,
161                     only_db: string|string[],
162                     password: string,
163                     pdf_pages: string|false,
164                     pmadb: string|false,
165                     port: string,
166                     recent: string|false,
167                     relation: string|false,
168                     savedsearches: string|false,
169                     SessionTimeZone: string,
170                     SignonCookieParams: array{lifetime: 0|positive-int, path: string, domain: string, secure: bool, httponly: bool, samesite?: 'Lax'|'Strict'},
171                     SignonScript: string,
172                     SignonSession: string,
173                     SignonURL: string,
174                     table_coords: string|false,
175                     table_info: string|false,
176                     table_uiprefs: string|false,
177                     tracking: string|false,
178                     tracking_add_drop_database: bool,
179                     tracking_add_drop_table: bool,
180                     tracking_add_drop_view: bool,
181                     tracking_default_statements: string,
182                     tracking_version_auto_create: bool,
183                     user: string,
184                     userconfig: string|false,
185                     usergroups: string|false,
186                     users: string|false,
187                     verbose: string
188                 },
189                 ServerDefault: 0|positive-int,
190                 Servers: array[],
191                 ShowAll: bool,
192                 ShowBrowseComments: bool,
193                 ShowColumnComments: bool,
194                 ShowCreateDb: bool,
195                 ShowDatabasesNavigationAsTree: bool,
196                 ShowDbStructureCharset: bool,
197                 ShowDbStructureComment: bool,
198                 ShowDbStructureCreation: bool,
199                 ShowDbStructureLastCheck: bool,
200                 ShowDbStructureLastUpdate: bool,
201                 ShowFieldTypesInDataEditView: bool,
202                 ShowFunctionFields: bool,
203                 ShowHint: bool,
204                 ShowPropertyComments: bool,
205                 ShowSQL: bool,
206                 ShowStats: bool,
207                 TextareaAutoSelect: bool,
208                 TextareaCols: positive-int,
209                 TextareaRows: positive-int,
210                 ThemeDefault: string,
211                 ThemePerServer: bool,
212                 TitleDatabase: string,
213                 TitleDefault: string,
214                 TitleServer: string,
215                 TitleTable: string,
216                 UserprefsDeveloperTab: bool,
217                 UserprefsDisallow: string[],
218                 VersionCheck: bool,
219                 ZeroConf: bool,
220                 ZipDump: bool
221             },
222             charset: string,
223             charset_connection: string,
224             codegen_format: 0|1,
225             col_priv: bool,
226             collation_connection: string,
227             complete_query: string,
228             compression: 'none'|'zip'|'gzip',
229             conn_error: string,
230             config: PhpMyAdmin\Config,
231             ConfigFile: PhpMyAdmin\Config\ConfigFile,
232             crlf: string,
233             csv_columns: bool,
234             csv_enclosed: string,
235             csv_escaped: string,
236             csv_separator: string,
237             csv_terminated: string,
238             db: string,
239             db_priv: bool,
240             dbi: PhpMyAdmin\DatabaseInterface,
241             dbs_to_test: string[]|false,
242             dblist: PhpMyAdmin\Database\DatabaseList,
243             display_query: string,
244             errno: int,
245             error: bool,
246             error_message: string,
247             errorHandler: PhpMyAdmin\ErrorHandler,
248             excel_edition: 'win'|'mac_excel2003'|'mac_excel2008',
249             file_handle: resource|null,
250             finished: bool,
251             from_cookie: bool,
252             goto: string,
253             hostname: string,
254             import_file: string,
255             import_file_name: string,
256             import_text: string,
257             is_create_db_priv: bool,
258             is_reload_priv: bool,
259             knjenc: string,
260             lang: string,
261             latex_data_caption: string,
262             latex_data_continued_caption: string,
263             latex_data_label: string,
264             latex_null: string,
265             latex_structure_caption: string,
266             latex_structure_continued_caption: string,
267             latex_structure_label: string,
268             maxsize: string,
269             memory_limit: int,
270             message: PhpMyAdmin\Message,
271             ods_buffer: string,
272             odt_buffer: string,
273             offset: int,
274             old_tz: string,
275             onfly_compression: bool,
276             output_charset_conversion: bool,
277             output_kanji_conversion: bool,
278             plugin_param: string|array{export_type: string, single_table: bool},
279             plugin_scripts: string[],
280             pma_auth_server: string,
281             PMA_PHP_SELF: string,
282             proc_priv: bool,
283             querytime: float|int,
284             read_limit: int,
285             save_on_server: bool,
286             server: int,
287             SESSION_KEY: string,
288             showtable: array&lt;string, string|null&gt;,
289             sql_compatibility: 'NONE'|'ANSI'|'DB2'|'MAXDB'|'MYSQL323'|'MYSQL40'|'MSSQL'|'ORACLE'|'TRADITIONAL',
290             sql_constraints: string,
291             sql_constraints_query: string,
292             sql_drop_foreign_keys: string,
293             sql_if_not_exists: bool,
294             sql_ignore: bool,
295             sql_insert_syntax: 'complete'|'extended'|'both'|'none',
296             sql_max_query_size: 0|positive-int,
297             sql_query: string,
298             sql_structure_or_data: 'structure'|'data'|'structure_and_data',
299             sql_type: 'INSERT'|'UPDATE'|'REPLACE',
300             table: string,
301             table_priv: bool,
302             tbl_storage_engine: string,
303             text_dir: string,
304             token_mismatch: bool,
305             token_provided: bool,
306             urlParams: array,
307             username: string,
308             xml_export_triggers: bool,
309             xml_export_views: bool
310         }"/>
311     </globals>
312 </psalm>