minor #34180 [DI] Fix "!tagged" related upgrade/changelog notes (chalasr)

This PR was merged into the 4.4 branch.

Discussion
----------

[DI] Fix "!tagged" related upgrade/changelog notes

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Tickets       | -
| License       | MIT
| Doc PR        | -

Commits
-------

81b9c3c682 [DI] Fix "!tagged" related upgrade/changelog notes
This commit is contained in:
Robin Chalas 2019-10-30 00:18:42 +01:00
commit 8e2bc5fe0a
3 changed files with 1 additions and 38 deletions

View File

@ -39,22 +39,6 @@ DependencyInjection
factory: ['@factory_service', method]
```
* Deprecated `tagged` in favor of `tagged_iterator`
Before:
```yaml
services:
App\HandlerCollection:
arguments: [!tagged my_tag]
```
After:
```yaml
services:
App\HandlerCollection:
arguments: [!tagged_iterator my_tag]
```
* Passing an instance of `Symfony\Component\DependencyInjection\Parameter` as class name to `Symfony\Component\DependencyInjection\Definition` is deprecated.
Before:

View File

@ -94,27 +94,6 @@ DependencyInjection
my_service:
factory: ['@factory_service', method]
```
* Removed `tagged` in favor of `tagged_iterator`
Before:
```yaml
services:
App\Handler:
tags: ['app.handler']
App\HandlerCollection:
arguments: [!tagged app.handler]
```
After:
```yaml
services:
App\Handler:
tags: ['app.handler']
App\HandlerCollection:
arguments: [!tagged_iterator app.handler]
```
DoctrineBridge
--------------

View File

@ -7,7 +7,7 @@ CHANGELOG
* added support for opcache.preload by generating a preloading script in the cache folder
* added support for dumping the container in one file instead of many files
* deprecated support for short factories and short configurators in Yaml
* deprecated `tagged` in favor of `tagged_iterator`
* added `tagged_iterator` alias for `tagged` which might be deprecated in a future version
* deprecated passing an instance of `Symfony\Component\DependencyInjection\Parameter` as class name to `Symfony\Component\DependencyInjection\Definition`
* added support for binding iterable and tagged services
* made singly-implemented interfaces detection be scoped by file