<commit_before><?php

/**
 * Database Settings
 *
 * The Settings configuration has four level that are being used to build the UI as per below:
 * - Level 0 - Tab label
 * - Level 1 - Column label
 * - Level 2 - Section label
 * - Level 3 - Field label
 *
 * For each field the following can be defined:
 * - alias - Configuration key that will be stored in database.
 * - type - Can be integer, string, list or boolean.
 * - (optional) selectOptions - Array with [value => label] in case of type list.
 * - scope - Whether the settings can be applied on application level, on user level or both.
 * - help - Text to be displayed as a help message under each field
 */

return [
    'Settings' => [
        'Available Options' => [
            'APIs' => [
                'Keys' => [
                    'Google Maps' => [
                        'alias' => 'CsvMigrations.GoogleMaps.ApiKey',
                        'type' => 'string',
                        'scope' => [
                            'app',
                        ],
                    ],
                ],
            ],
            'Email' => [
                'General' => [
                    'Transport' => [
                        'alias' => 'EmailTransport.default.className',
                        'type' => 'list',
                        'selectOptions' => [
                            'Mail' => 'Mail',
                            'Smtp' => 'Smtp',
                            'Debug' => 'Debug',
                        ],
                        'scope' => [
                            'app',
                        ],
                    ],
                ],
                'SMTP' => [
                    'Host' => [
                        'alias' => 'EmailTransport.default.host',
                        'type' => 'string',
                        'help' => '',
                        'scope' => [
                            'app',
                        ],
                    ],
                    'Port' => [
                        'alias' => 'EmailTransport.default.port',
                        'type' => 'integer',
                        'help' => '',
                        'scope' => [
                            'app',
                        ],
                    ],
                    'Timeout' => [
                        'alias' => 'EmailTransport.default.timeout',
                        'type' => 'integer',
                        'help' => '',
                        'scope' => [
                            'app',
                        ],
                    ],
                    'Username' => [
                        'alias' => 'EmailTransport.default.username',
                        'type' => 'string',
                        'help' => '',
                        'scope' => [
                            'app',
                        ],
                    ],
                    'Password' => [
                        'alias' => 'EmailTransport.default.password',
                        'type' => 'string',
                        'help' => '',
                        'scope' => [
                            'app',
                        ],
                    ],
                    'TLS' => [
                        'alias' => 'EmailTransport.default.tls',
                        'type' => 'boolean',
                        'help' => '',
                        'scope' => [
                            'app',
                        ],
                    ],
                ],
            ],
            'Authentication' => [
                'LDAP' => [
                    'Enabled' => [
                        'alias' => 'Ldap.enabled',
                        'type' => 'boolean',
                        'help' => '',
                        'scope' => [
                            'app',
                        ],
                    ],
                    'Username' => [
                        'alias' => 'Ldap.username',
                        'type' => 'string',
                        'help' => '',
                        'scope' => [
                            'app',
                        ],
                    ],
                    'Password' => [
                        'alias' => 'Ldap.password',
                        'type' => 'string',
                        'help' => '',
                        'scope' => [
                            'app',
                        ],
                    ],
                    'Host' => [
                        'alias' => 'Ldap.host',
                        'type' => 'string',
                        'help' => '',
                        'scope' => [
                            'app',
                        ],
                    ],
                    'Port' => [
                        'alias' => 'Ldap.port',
                        'type' => 'integer',
                        'help' => '',
                        'scope' => [
                            'app',
                        ],
                    ],
                    'Version' => [
                        'alias' => 'Ldap.version',
                        'type' => 'string',
                        'help' => '',
                        'scope' => [<commit_msg>Adjust `version` as integer (task #15054)<commit_after><?php

/**
 * Database Settings
 *
 * The Settings configuration has four level that are being used to build the UI as per below:
 * - Level 0 - Tab label
 * - Level 1 - Column label
 * - Level 2 - Section label
 * - Level 3 - Field label
 *
 * For each field the following can be defined:
 * - alias - Configuration key that will be stored in database.
 * - type - Can be integer, string, list or boolean.
 * - (optional) selectOptions - Array with [value => label] in case of type list.
 * - scope - Whether the settings can be applied on application level, on user level or both.
 * - help - Text to be displayed as a help message under each field
 */

return [
    'Settings' => [
        'Available Options' => [
            'APIs' => [
                'Keys' => [
                    'Google Maps' => [
                        'alias' => 'CsvMigrations.GoogleMaps.ApiKey',
                        'type' => 'string',
                        'scope' => [
                            'app',
                        ],
                    ],
                ],
            ],
            'Email' => [
                'General' => [
                    'Transport' => [
                        'alias' => 'EmailTransport.default.className',
                        'type' => 'list',
                        'selectOptions' => [
                            'Mail' => 'Mail',
                            'Smtp' => 'Smtp',
                            'Debug' => 'Debug',
                        ],
                        'scope' => [
                            'app',
                        ],
                    ],
                ],
                'SMTP' => [
                    'Host' => [
                        'alias' => 'EmailTransport.default.host',
                        'type' => 'string',
                        'help' => '',
                        'scope' => [
                            'app',
                        ],
                    ],
                    'Port' => [
                        'alias' => 'EmailTransport.default.port',
                        'type' => 'integer',
                        'help' => '',
                        'scope' => [
                            'app',
                        ],
                    ],
                    'Timeout' => [
                        'alias' => 'EmailTransport.default.timeout',
                        'type' => 'integer',
                        'help' => '',
                        'scope' => [
                            'app',
                        ],
                    ],
                    'Username' => [
                        'alias' => 'EmailTransport.default.username',
                        'type' => 'string',
                        'help' => '',
                        'scope' => [
                            'app',
                        ],
                    ],
                    'Password' => [
                        'alias' => 'EmailTransport.default.password',
                        'type' => 'string',
                        'help' => '',
                        'scope' => [
                            'app',
                        ],
                    ],
                    'TLS' => [
                        'alias' => 'EmailTransport.default.tls',
                        'type' => 'boolean',
                        'help' => '',
                        'scope' => [
                            'app',
                        ],
                    ],
                ],
            ],
            'Authentication' => [
                'LDAP' => [
                    'Enabled' => [
                        'alias' => 'Ldap.enabled',
                        'type' => 'boolean',
                        'help' => '',
                        'scope' => [
                            'app',
                        ],
                    ],
                    'Username' => [
                        'alias' => 'Ldap.username',
                        'type' => 'string',
                        'help' => '',
                        'scope' => [
                            'app',
                        ],
                    ],
                    'Password' => [
                        'alias' => 'Ldap.password',
                        'type' => 'string',
                        'help' => '',
                        'scope' => [
                            'app',
                        ],
                    ],
                    'Host' => [
                        'alias' => 'Ldap.host',
                        'type' => 'string',
                        'help' => '',
                        'scope' => [
                            'app',
                        ],
                    ],
                    'Port' => [
                        'alias' => 'Ldap.port',
                        'type' => 'integer',
                        'help' => '',
                        'scope' => [
                            'app',
                        ],
                    ],
                    'Version' => [
                        'alias' => 'Ldap.version',
                        'type' => 'integer',
                        'help' => '',
                        'scope' => [
{'fraction_non_alphanumeric': 0.1279674642958479, 'fraction_numerical': 0.0012295469592357893, 'mean_word_length': 0.5929496836396505, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 167, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2181320', 'n_tokens_mistral': 2345, 'n_tokens_neox': 2165, 'n_words': 459}