-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Upgrading docs to Symfony 4.0 #7809
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
Comments
Closing because this is a too broad issue. We're already taking care of all these in multiple separate pull requests. |
@javiereguiluz I'm going to re-open this. This IS indeed broad. But I'd like to either check all the boxes in the description or create separate issues. For example, we have NOT removed all references to |
This PR was squashed before being merged into the 4.0 branch (closes #8799). Discussion ---------- Removing more AppBundle This is still not all of them (and we have a few pending PR's which remove some additional ones). But this gets us *close* to all AppBundle gone. I've even renamed some instances that are not technically problematic. That's because I want to be able to do a `git grep AppBundle` on 4.0 and higher and see *nothing*. This will make it easier to spot merge issues later. This helps #7809. Commits ------- 7d75ce3 Removing more AppBundle
We finally checked all boxes of this meta issue ... so closing it as fixed. |
Uh oh!
There was an error while loading. Please reload this page.
This meta-issue lists all the big changes needed to upgrade the docs to Symfony 4.0:
kernel.root_dir
bykernel.project_dir
everywhere. Never explainkernel.root_dir
but maybe add a note mentioning thatproject_dir
didn't exist before 4.x and people usedroot_dir
..yaml
instead of.yml
In YAML files, null values are represented as(change was reverted)null
instead of~
composer req console
, etc.composer req cli
,composer req console
,composer require console
,composer require symfony/console
, etc.session
service is not available by default becausesession
config is commented inframework.yaml
Command/
directory is not importantweb/
topublic/
(also see Fix server configuration for Symfony 4 #8693 (comment))_controller
->controller
Remove deprecated features:
DefinitionDecorator
class, replaced byChildDefinition
AutowireServiceResource
class and relatedAutowirePass::createResourceForClass()
methodLoggingFormatter
,Compiler::getLoggingFormatter()
andaddLogMessage()
class and methods, use theContainerBuilder::log()
method insteadFactoryReturnTypePass
ContainerBuilder::addClassResource()
, use theaddObjectResource()
or thegetReflectionClass()
method instead.ErrorHandler
is deprecated and will be removed in Symfony 4.0.The text was updated successfully, but these errors were encountered: