You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: DependencyInjection/Compiler/ConfigurationCheckPass.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ class ConfigurationCheckPass implements CompilerPassInterface
24
24
publicfunctionprocess(ContainerBuilder$container)
25
25
{
26
26
if ($container->has('sensio_framework_extra.view.listener') && $container->has('fos_rest.view_response_listener')) {
27
-
thrownew \RuntimeException('You need to disable the view annotations in SensioFrameworkExtraBundle when using the FOSRestBundle View Response listener.');
27
+
thrownew \RuntimeException('You need to disable the view annotations in SensioFrameworkExtraBundle when using the FOSRestBundle View Response listener. Add "view: { annotations: false }" to the sensio_framework_extra: section of your config.yml');
28
28
}
29
29
30
30
if ($container->has('fos_rest.converter.request_body') && !$container->has('sensio_framework_extra.converter.listener')) {
0 commit comments