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