Merge remote-tracking branch 'origin/master' into 2.5.0

This commit is contained in:
Jeremy Benoist
2022-05-13 13:50:50 +02:00
106 changed files with 2100 additions and 1461 deletions

View File

@ -24,7 +24,13 @@ class ConfigType extends AbstractType
$this->themes = array_combine(
$themes,
array_map(function ($s) {
return ucwords(strtolower(str_replace('-', ' ', $s)));
$cleanTheme = ucwords(strtolower(str_replace('-', ' ', $s)));
if ('Baggy' === $cleanTheme) {
$cleanTheme = 'Baggy (DEPRECATED)';
}
return $cleanTheme;
}, $themes)
);