-
-
Notifications
You must be signed in to change notification settings - Fork 497
Enable container.dumper.inline_class_loader param by default #241
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request passes validation.
@@ -37,6 +37,7 @@ public function registerBundles() | |||
protected function configureContainer(ContainerBuilder $container, LoaderInterface $loader) | |||
{ | |||
$container->setParameter('container.autowiring.strict_mode', true); | |||
$container->setParameter('container.dumper.inline_class_loader', true); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can't it be set to on
by default in 4.0?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it is in the flex recipe, would be a hard BC break otherwise
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should still work on making this on by default in the future (we could trigger a deprecation notice in 3.4 if the parameter is not set explicitly to either true
or false
, saying that the default behavior in 4.0 would be to enable this).
container.autowiring.strict_mode
does not suffer from this, because it is just about disabling a BC layer (so it is gone entirely in 4.0)
rebased |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request passes validation.
…1162) Description ----------- These parameters are on by default since Symfony 3.3 symfony/recipes#241 Commits ------- f653aee Remove obsolete parameters d64dda0 Re-add container.dumper.inline_class_loader
…1162) Description ----------- These parameters are on by default since Symfony 3.3 symfony/recipes#241 Commits ------- f653aeeb Remove obsolete parameters d64dda0d Re-add container.dumper.inline_class_loader
Sibling to symfony/symfony#24872