Skip to content

Commit c7fd5d6

Browse files
committed
minor #1834 run checks after SensioFrameworkExtraBundle (xabbuh)
This PR was merged into the 2.3-dev branch. Discussion ---------- run checks after SensioFrameworkExtraBundle This does not solve the root issue of #1812. However, it will throw a meaningful error during container compilation so that users can find out how to work around (by enabling TwigBundle). Commits ------- 956def5 run checks after SensioFrameworkExtraBundle
2 parents c3fd187 + 956def5 commit c7fd5d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

FOSRestBundle.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class FOSRestBundle extends Bundle
3535
public function build(ContainerBuilder $container)
3636
{
3737
$container->addCompilerPass(new SerializerConfigurationPass());
38-
$container->addCompilerPass(new ConfigurationCheckPass());
38+
$container->addCompilerPass(new ConfigurationCheckPass(), PassConfig::TYPE_BEFORE_OPTIMIZATION, -10);
3939
$container->addCompilerPass(new FormatListenerRulesPass());
4040
$container->addCompilerPass(new TwigExceptionPass());
4141
$container->addCompilerPass(new JMSFormErrorHandlerPass());

0 commit comments

Comments
 (0)