Welcome to mirror list, hosted at ThFree Co, Russian Federation.

psalm.xml - github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2670e932d1a735207a4ebb0837261c27a8ff1e62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
<?xml version="1.0"?>
<psalm
    autoloader="test/bootstrap-static.php"
    errorLevel="1"
    reportMixedIssues="true"
    sealAllMethods="true"
    resolveFromConfigFile="true"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns="https://getpsalm.org/schema/config"
    xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
    errorBaseline="psalm-baseline.xml"
>
    <projectFiles>
        <directory name="libraries"/>
        <directory name="setup"/>
        <directory name="test/classes"/>
        <directory name="test/selenium"/>
        <file name="index.php"/>
        <file name="show_config_errors.php"/>
        <ignoreFiles>
            <directory name="vendor"/>
            <directory name="libraries/cache"/>
        </ignoreFiles>
    </projectFiles>

    <stubs>
        <file name="test/stubs/Query.stub"/>
        <file name="test/stubs/uploadprogress.stub"/>
    </stubs>

    <plugins>
        <pluginClass class="Psalm\PhpUnitPlugin\Plugin"/>
    </plugins>

    <globals>
        <var name="GLOBALS" type="array{
            asfile: bool,
            buffer_needed: bool,
            cached_affected_rows: int|numeric-string,
            cfg: array{
                AllowArbitraryServer: bool,
                AllowThirdPartyFraming: bool|'sameorigin',
                ArbitraryServerRegexp: string,
                AvailableCharsets: string[],
                blowfish_secret: string,
                BrowseMarkerEnable: bool,
                BrowsePointerEnable: bool,
                BrowseMIME: bool,
                BZipDump: bool,
                CaptchaApi: string,
                CaptchaLoginPublicKey: string,
                CaptchaRequestParam: string,
                CaptchaResponseParam: string,
                CharEditing: 'input'|'textarea',
                CharTextareaCols: positive-int,
                CharTextareaRows: positive-int,
                CodemirrorEnable: bool,
                CompressOnFly: bool,
                Confirm: bool,
                ConsoleEnterExecutes: bool,
                DBG: array{sql: bool, sqllog: bool, demo: bool, simple2fa: bool},
                DefaultForeignKeyChecks: 'default'|'enable'|'disable',
                DefaultQueryDatabase: string,
                DefaultQueryTable: string,
                DefaultTabDatabase: 'structure'|'sql'|'search'|'operations',
                DefaultTabServer: 'welcome'|'databases'|'status'|'variables'|'privileges',
                DefaultTabTable: 'structure'|'sql'|'search'|'insert'|'browse',
                DefaultTransformations: array{
                    Bool2Text: array{string, string},
                    DateFormat: array{0|positive-int, string, 'local'|'utc'},
                    External: array{int, string, int, int},
                    Hex: array{0|positive-int},
                    Inline: array{0: 0|positive-int, 1: 0|positive-int, wrapper_link: string|null, wrapper_params: array&lt;array-key, string&gt;},
                    PreApPend: array{string, string},
                    Substring: array{0|positive-int, 'all'|int, string},
                    TextImageLink: array{string|null, 0|positive-int, 0|positive-int},
                    TextLink: array{string|null, string|null, bool|null}
                },
                DisableMultiTableMaintenance: bool,
                DisplayServersList: bool,
                enable_drag_drop_import: bool,
                ExecTimeLimit: 0|positive-int,
                FirstLevelNavigationItems: positive-int,
                ForeignKeyDropdownOrder: array{0: 'content-id'|'id-content', 1?: 'content-id'|'id-content'},
                ForeignKeyMaxLimit: positive-int,
                GridEditing: 'double-click'|'click'|'disabled',
                GZipDump: bool,
                HideStructureActions: bool,
                IgnoreMultiSubmitErrors: bool,
                Import: array,
                InitialSlidersState: 'open'|'closed'|'disabled',
                InsertRows: positive-int,
                LimitChars: positive-int,
                LinkLengthLimit: positive-int,
                LintEnable: bool,
                LoginCookieDeleteAll: bool,
                LoginCookieRecall: bool,
                LoginCookieStore: 0|positive-int,
                LoginCookieValidity: positive-int,
                LongtextDoubleTextarea: bool,
                MaxDbList: positive-int,
                MaxCharactersInDisplayedSQL: positive-int,
                MaxExactCount: positive-int,
                MaxExactCountViews: 0|positive-int,
                MaxNavigationItems: positive-int,
                MaxTableList: positive-int,
                maxRowPlotLimit: positive-int,
                MaxRows: positive-int,
                MaxSizeForInputField: positive-int,
                MinSizeForInputField: 0|positive-int,
                MysqlMinVersion: array{internal: int, human: string},
                MysqlSslWarningSafeHosts: string[],
                NaturalOrder: bool,
                NavigationLinkWithMainPanel: bool,
                NavigationTreeDbSeparator: string,
                NavigationTreeDefaultTabTable: 'structure'|'sql'|'search'|'insert'|'browse',
                NavigationTreeDefaultTabTable2: 'structure'|'sql'|'search'|'insert'|'browse'|'',
                NavigationTreeDisplayDbFilterMinimum: positive-int,
                NavigationTreeDisplayItemFilterMinimum: positive-int,
                NavigationTreeEnableExpansion: bool,
                NavigationTreeEnableGrouping: bool,
                NavigationTreeShowEvents: bool,
                NavigationTreeShowFunctions: bool,
                NavigationTreeShowProcedures: bool,
                NavigationTreeShowTables: bool,
                NavigationTreeShowViews: bool,
                NavigationTreeTableLevel: positive-int,
                NavigationTreeTableSeparator: string|string[]|false,
                NumFavoriteTables: 0|positive-int,
                NumRecentTables: 0|positive-int,
                OBGzip: 'auto'|bool,
                PDFDefaultPageSize: string,
                PDFPageSizes: string[],
                PersistentConnections: bool,
                PropertiesNumColumns: positive-int,
                ProtectBinary: 'blob'|'noblob'|'all'|false,
                QueryHistoryDB: bool,
                QueryHistoryMax: positive-int,
                RelationalDisplay: 'K'|'D',
                RememberSorting: bool,
                RepeatCells: 0|positive-int,
                ReservedWordDisableWarning: bool,
                RetainQueryBox: bool,
                RowActionLinks: 'left'|'right'|'both'|'none',
                RowActionLinksWithoutUnique: bool,
                SaveCellsAtOnce: bool,
                SendErrorReports: 'ask'|'always'|'never',
                Server: array{
                    auth_type: 'config'|'http'|'signon'|'cookie',
                    bookmarktable: string|false,
                    central_columns: string|false,
                    column_info: string|false,
                    designer_settings: string|false,
                    DisableIS: bool,
                    export_templates: string|false,
                    favorite: string|false,
                    history: string|false,
                    host: string,
                    MaxTableUiprefs: positive-int,
                    navigationhiding: string|false,
                    only_db: string|string[],
                    password: string,
                    pdf_pages: string|false,
                    pmadb: string|false,
                    port: string,
                    recent: string|false,
                    relation: string|false,
                    savedsearches: string|false,
                    SessionTimeZone: string,
                    SignonCookieParams: array{lifetime: 0|positive-int, path: string, domain: string, secure: bool, httponly: bool, samesite?: 'Lax'|'Strict'},
                    SignonScript: string,
                    SignonSession: string,
                    SignonURL: string,
                    table_coords: string|false,
                    table_info: string|false,
                    table_uiprefs: string|false,
                    tracking: string|false,
                    tracking_add_drop_database: bool,
                    tracking_add_drop_table: bool,
                    tracking_add_drop_view: bool,
                    tracking_default_statements: string,
                    tracking_version_auto_create: bool,
                    user: string,
                    userconfig: string|false,
                    usergroups: string|false,
                    users: string|false,
                    verbose: string
                },
                ServerDefault: 0|positive-int,
                Servers: array[],
                ShowAll: bool,
                ShowBrowseComments: bool,
                ShowColumnComments: bool,
                ShowCreateDb: bool,
                ShowDatabasesNavigationAsTree: bool,
                ShowDbStructureCharset: bool,
                ShowDbStructureComment: bool,
                ShowDbStructureCreation: bool,
                ShowDbStructureLastCheck: bool,
                ShowDbStructureLastUpdate: bool,
                ShowFieldTypesInDataEditView: bool,
                ShowFunctionFields: bool,
                ShowHint: bool,
                ShowPropertyComments: bool,
                ShowServerInfo: bool,
                ShowSQL: bool,
                ShowStats: bool,
                TextareaAutoSelect: bool,
                TextareaCols: positive-int,
                TextareaRows: positive-int,
                ThemeDefault: string,
                ThemePerServer: bool,
                TitleDatabase: string,
                TitleDefault: string,
                TitleServer: string,
                TitleTable: string,
                UserprefsDeveloperTab: bool,
                UserprefsDisallow: string[],
                VersionCheck: bool,
                ZeroConf: bool,
                ZipDump: bool
            },
            charset: string,
            charset_connection: string,
            codegen_format: 0|1,
            col_priv: bool,
            collation_connection: string,
            complete_query: string,
            compression: 'none'|'zip'|'gzip',
            conn_error: string,
            config: PhpMyAdmin\Config,
            ConfigFile: PhpMyAdmin\Config\ConfigFile,
            containerBuilder: Symfony\Component\DependencyInjection\ContainerBuilder,
            csv_columns: bool,
            csv_enclosed: string,
            csv_escaped: string,
            csv_separator: string,
            csv_terminated: string,
            db: string,
            db_priv: bool,
            dbi: PhpMyAdmin\DatabaseInterface,
            dbs_to_test: string[]|false,
            dblist: PhpMyAdmin\Database\DatabaseList,
            display_query: string,
            errno: int,
            error: bool,
            error_message: string,
            errorHandler: PhpMyAdmin\ErrorHandler,
            excel_edition: 'win'|'mac_excel2003'|'mac_excel2008',
            file_handle: resource|null,
            finished: bool,
            from_cookie: bool,
            goto: string,
            hostname: string,
            import_file: string,
            import_file_name: string,
            import_text: string,
            is_create_db_priv: bool,
            is_reload_priv: bool,
            knjenc: string,
            lang: string,
            latex_data_caption: string,
            latex_data_continued_caption: string,
            latex_data_label: string,
            latex_null: string,
            latex_structure_caption: string,
            latex_structure_continued_caption: string,
            latex_structure_label: string,
            maxsize: string,
            memory_limit: int,
            message: PhpMyAdmin\Message,
            ods_buffer: string,
            odt_buffer: string,
            offset: int,
            old_tz: string,
            onfly_compression: bool,
            output_charset_conversion: bool,
            output_kanji_conversion: bool,
            plugin_param: string|array{export_type: string, single_table: bool},
            plugin_scripts: string[],
            pma_auth_server: string,
            PMA_PHP_SELF: string,
            proc_priv: bool,
            querytime: float|int,
            read_limit: int,
            save_on_server: bool,
            server: int,
            SESSION_KEY: string,
            showtable: array&lt;string, string|null&gt;,
            sql_compatibility: 'NONE'|'ANSI'|'DB2'|'MAXDB'|'MYSQL323'|'MYSQL40'|'MSSQL'|'ORACLE'|'TRADITIONAL',
            sql_constraints: string,
            sql_constraints_query: string,
            sql_drop_foreign_keys: string,
            sql_if_not_exists: bool,
            sql_ignore: bool,
            sql_insert_syntax: 'complete'|'extended'|'both'|'none',
            sql_max_query_size: 0|positive-int,
            sql_query: string,
            sql_structure_or_data: 'structure'|'data'|'structure_and_data',
            sql_type: 'INSERT'|'UPDATE'|'REPLACE',
            table: string,
            table_priv: bool,
            tbl_storage_engine: string,
            text_dir: string,
            token_mismatch: bool,
            token_provided: bool,
            unparsed_sql?: string,
            urlParams: array,
            username: string,
            xml_export_triggers: bool,
            xml_export_views: bool
        }"/>
    </globals>
</psalm>