2.0 RC 1 - new ConfigurationService (#3810)

* use html5 email validation
* remove static cache seed, for compatibility with non default (file based) caches
* added caching ConfigurationService, removed use of doctrine result cache
* simplify configuration API
This commit is contained in:
Kevin Papst
2023-02-05 19:51:08 +01:00
committed by GitHub
parent 63a3ae1147
commit ca846b5fbf
14 changed files with 119 additions and 157 deletions

View File

@@ -21,7 +21,7 @@ final class MailType extends AbstractType
$resolver->setDefaults([
'label' => 'email',
'constraints' => [
new Email(['mode' => 'loose'])
new Email(['mode' => 'html5'])
],
]);
}