Skip to content
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

add container.autowiring.strict_mode to 3.4 docs #26278

Merged
merged 1 commit into from Feb 23, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
9 changes: 9 additions & 0 deletions UPGRADE-3.4.md
Expand Up @@ -56,6 +56,15 @@ DependencyInjection
autowire: true
```

* Autowiring services based on the types they implement is deprecated and will not be supported anymore in Symfony 4.0
where it will only match an alias or a service id that matches then given FQCN. You can opt in the behavior of Symfony
4 by the enabling the `container.autowiring.strict_mode` parameter:

```yml
parameters:
container.autowiring.strict_mode: true
```

* Top-level anonymous services in XML are deprecated and will throw an exception in Symfony 4.0.

* Case insensitivity of parameter names is deprecated and will be removed in 4.0.
Expand Down