set('registration_enabled', true); $config->set('enable_password', true); $config->set('enable_pronoun', true); $config->set('goodie_type', GoodieType::Tshirt->value); $config->set('tshirt_sizes', [ 'S' => 'Small Straight-Cut', 'M' => 'Medium Straight-Cut', ]); // disallow numeric values in username for tests $config->set('username_regex', '/\d+/'); $config->set('min_password_length', 3); $config->set('theme', 0); $config->set('enable_planned_arrival', true); $config->set('enable_user_name', true); $config->set('enable_mobile_show', true); $config->set('enable_dect', true); } public static function setMinimumConfig(Config $config): void { $config->set('registration_enabled', true); $config->set('enable_password', true); $config->set('enable_pronoun', false); $config->set('goodie_type', GoodieType::None->value); // disallow numeric values in username for tests $config->set('username_regex', '/\d+/'); $config->set('min_password_length', 3); $config->set('theme', 0); $config->set('enable_planned_arrival', false); $config->set('enable_user_name', false); $config->set('enable_mobile_show', false); $config->set('enable_dect', false); } }