Jump to Symfony 3.3 & update others deps

Also update tests urls
This commit is contained in:
Jeremy Benoist
2017-10-09 16:45:09 +02:00
parent ed5e175c20
commit f40c88eb1f
18 changed files with 52 additions and 30 deletions

View File

@ -752,7 +752,7 @@ class EntryRestController extends WallabagRestController
$context = new SerializationContext();
$context->setSerializeNull(true);
$json = $this->get('serializer')->serialize($data, 'json', $context);
$json = $this->get('jms_serializer')->serialize($data, 'json', $context);
return (new JsonResponse())->setJson($json);
}