From 956def50fccb182db74d7291a58bb75ce63ebfbf Mon Sep 17 00:00:00 2001 From: Christian Flothmann Date: Thu, 4 Jan 2018 20:06:44 +0100 Subject: [PATCH] run checks after SensioFrameworkExtraBundle --- FOSRestBundle.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FOSRestBundle.php b/FOSRestBundle.php index 054bd0181..3ad54c8ba 100644 --- a/FOSRestBundle.php +++ b/FOSRestBundle.php @@ -35,7 +35,7 @@ class FOSRestBundle extends Bundle public function build(ContainerBuilder $container) { $container->addCompilerPass(new SerializerConfigurationPass()); - $container->addCompilerPass(new ConfigurationCheckPass()); + $container->addCompilerPass(new ConfigurationCheckPass(), PassConfig::TYPE_BEFORE_OPTIMIZATION, -10); $container->addCompilerPass(new FormatListenerRulesPass()); $container->addCompilerPass(new TwigExceptionPass()); $container->addCompilerPass(new JMSFormErrorHandlerPass());