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