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

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaurício Meneghini Fauth <mauricio@fauth.dev>2021-08-10 23:30:40 +0300
committerMaurício Meneghini Fauth <mauricio@fauth.dev>2021-08-10 23:30:40 +0300
commit1d3ab39fdef43897a7a70c7cb6674cdd6de68802 (patch)
tree3da677e53786fcc30c3a32440c44cd10928ebbb1 /psalm.xml
parent2b28b88837a63a116bc35f22980d0199525bb754 (diff)
Add `$cfg` global to `psalm.xml`
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
Diffstat (limited to 'psalm.xml')
-rw-r--r--psalm.xml95
1 files changed, 91 insertions, 4 deletions
diff --git a/psalm.xml b/psalm.xml
index d089e14123..3a96b082db 100644
--- a/psalm.xml
+++ b/psalm.xml
@@ -26,9 +26,96 @@
</plugins>
<globals>
- <!-- <var name="cfg" type="array" /> -->
- <var name="dbi" type="PhpMyAdmin\DatabaseInterface" />
- <var name="containerBuilder" type="Symfony\Component\DependencyInjection\ContainerBuilder" />
- <var name="PMA_PHP_SELF" type="string" />
+ <var name="cfg" type="array{
+ AllowUserDropDatabase: bool,
+ blowfish_secret: string,
+ BrowseMIME: bool,
+ BZipDump: bool,
+ CaptchaCsp: string,
+ CookieSameSite: 'Lax'|'Strict'|'None',
+ CSPAllow: string,
+ DBG: array{sql: bool, sqllog: bool, demo: bool, simple2fa: bool},
+ DefaultTabDatabase: 'structure'|'sql'|'search'|'operations',
+ DefaultTabServer: 'welcome'|'databases'|'status'|'variables'|'privileges',
+ DefaultTabTable: 'structure'|'sql'|'search'|'insert'|'browse',
+ DisableMultiTableMaintenance: bool,
+ enable_drag_drop_import: bool,
+ EnableAutocompleteForTablesAndColumns: bool,
+ environment: 'production'|'development',
+ ExecTimeLimit: 0|positive-int,
+ Export: array,
+ FirstLevelNavigationItems: positive-int,
+ GridEditing: 'double-click'|'click'|'disabled',
+ GZipDump: bool,
+ IgnoreMultiSubmitErrors: bool,
+ InitialSlidersState: 'open'|'closed'|'disabled',
+ LimitChars: positive-int,
+ LoginCookieStore: 0|positive-int,
+ LoginCookieValidity: positive-int,
+ LoginCookieValidityDisableWarning: bool,
+ MaxDbList: positive-int,
+ MaxCharactersInDisplayedSQL: positive-int,
+ MaxRows: positive-int,
+ MaxTableList: positive-int,
+ NaturalOrder: bool,
+ NavigationDisplayLogo: bool,
+ NavigationDisplayServers: bool,
+ NavigationLinkWithMainPanel: bool,
+ NavigationLogoLink: string,
+ NavigationLogoLinkWindow: 'main'|'new',
+ NavigationTreeAutoexpandSingleDb: bool,
+ NavigationTreeDbSeparator: string,
+ NavigationTreeEnableGrouping: bool,
+ NavigationTreePointerEnable: bool,
+ NavigationTreeTableSeparator: string|string[]|false,
+ NavigationWidth: 0|positive-int,
+ NumFavoriteTables: 0|positive-int,
+ PmaNoRelation_DisableWarning: bool,
+ ProtectBinary: 'blob'|'noblob'|'all'|false,
+ ProxyPass: string,
+ ProxyUrl: string,
+ ProxyUser: string,
+ RepeatCells: 0|positive-int,
+ SendErrorReports: 'ask'|'always'|'never',
+ Server: array{
+ AllowDeny: array{order: ''|'deny,allow'|'allow,deny'|'explicit', rules: string[]},
+ AllowNoPassword: bool,
+ AllowRoot: bool,
+ auth_type: 'config'|'http'|'signon'|'cookie',
+ controlpass: string,
+ controluser: string,
+ DisableIS: bool,
+ host: string,
+ password: string,
+ pmadb: string|false,
+ port: string,
+ tracking_default_statements: string,
+ user: string,
+ verbose: string
+ },
+ ServerDefault: 0|positive-int,
+ Servers: array[],
+ ShowAll: bool,
+ ShowChgPassword: bool,
+ ShowCreateDb: bool,
+ ShowDatabasesNavigationAsTree: bool,
+ ShowFieldTypesInDataEditView: bool,
+ ShowFunctionFields: bool,
+ ShowPhpInfo: bool,
+ ShowServerInfo: bool,
+ ShowSQL: bool,
+ ShowStats: bool,
+ SkipLockedTables: bool,
+ SuhosinDisableWarning: bool,
+ ThemeManager: bool,
+ TranslationWarningThreshold: int,
+ UseDbSearch: bool,
+ VersionCheck: bool,
+ ZeroConf: bool,
+ ZipDump: bool
+ }"/>
+ <var name="containerBuilder" type="Symfony\Component\DependencyInjection\ContainerBuilder"/>
+ <var name="dbi" type="PhpMyAdmin\DatabaseInterface"/>
+ <var name="PMA_PHP_SELF" type="string"/>
</globals>
</psalm>