Skip to content

Commit cc1abd2

Browse files
committed
fix some deprecations about validation html mode and attributes for recent sf
1 parent 302f408 commit cc1abd2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/Fixtures/app/AppKernel.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -142,14 +142,15 @@ protected function configureContainer(ContainerBuilder $c, LoaderInterface $load
142142
if (class_exists(PingWebhookMessageHandler::class)) {
143143
$config = [
144144
'secret' => 'dunglas.fr',
145-
'validation' => ['enable_annotations' => true],
145+
'validation' => ['enable_attributes' => true, 'email_validation_mode' => 'html5'],
146146
'serializer' => ['enable_attributes' => true],
147147
'test' => null,
148148
'session' => class_exists(SessionFactory::class) ? ['handler_id' => null, 'storage_factory_id' => 'session.storage.factory.mock_file'] : ['storage_id' => 'session.storage.mock_file'],
149149
'profiler' => [
150150
'enabled' => true,
151151
'collect' => false,
152152
],
153+
'php_errors' => ['log' => true],
153154
'messenger' => $messengerConfig,
154155
'router' => ['utf8' => true],
155156
];

0 commit comments

Comments
 (0)