Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[DI] deprecates tag !tagged in favor of !tagged_iterator#31321
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
src/Symfony/Component/DependencyInjection/Loader/Configurator/ContainerConfigurator.phpShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/DependencyInjection/Loader/Configurator/ContainerConfigurator.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/DependencyInjection/Loader/XmlFileLoader.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/DependencyInjection/Loader/YamlFileLoader.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/DependencyInjection/Loader/XmlFileLoader.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/DependencyInjection/Loader/schema/dic/services/services-1.0.xsdShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
44c3096 to6ebb340CompareUh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/DependencyInjection/Loader/Configurator/ContainerConfigurator.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/DependencyInjection/Loader/Configurator/ContainerConfigurator.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/DependencyInjection/Loader/XmlFileLoader.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/DependencyInjection/Loader/Configurator/ContainerConfigurator.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/DependencyInjection/Loader/Configurator/ContainerConfigurator.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/DependencyInjection/Loader/XmlFileLoader.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/DependencyInjection/Loader/Configurator/ContainerConfigurator.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
jschaedl commentedMay 12, 2019
The TravisCi failure seems strange to me. I added the new argument type |
| <!-- transports--> | ||
| <serviceid="messenger.transport_factory"class="Symfony\Component\Messenger\Transport\TransportFactory"> | ||
| <argumenttype="tagged"tag="messenger.transport_factory" /> | ||
| <argumenttype="tagged_iterator"tag="messenger.transport_factory" /> |
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.
this means FWB now needs DI v4.4
this is why tests fail: the composer.json needs an update
nicolas-grekas commentedMay 22, 2019
(rebase needed also) |
nicolas-grekas commentedJun 3, 2019
The failing job is checking out branch 4.4 and loading dependencies with your patch applied. |
xabbuh left a comment
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.
maybe we should keep tests for the legacy behaviour though to make sure that we do not accidentally break it
9bc7b56 toab8fb18Comparenicolas-grekas commentedJun 9, 2019
Thank you@jschaedl. |
…or (jschaedl)This PR was squashed before being merged into the 4.4 branch (closes#31321).Discussion----------[DI] deprecates tag !tagged in favor of !tagged_iterator| Q | A| ------------- | ---| Branch? | 4.4| Bug fix? | no| New feature? | no| BC breaks? | no| Deprecations? | yes| Tests pass? | yes| Fixed tickets |#31289| License | MIT| Doc PR | tbd.### Todo- [x] fix testsCommits-------ab8fb18 [DI] deprecates tag !tagged in favor of !tagged_iterator
nicolas-grekas commentedJun 9, 2019 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
@jschaedl would you mind sending a PR to remove the deprecated codes on master? |
jschaedl commentedJun 9, 2019
@nicolas-grekas Sure, I'm happy to do that :-) |
…terator (jschaedl)This PR was merged into the 5.0-dev branch.Discussion----------[DI] remove deprecated tag !tagged in favor of !tagged_iterator| Q | A| ------------- | ---| Branch? | master <!-- see below -->| Bug fix? | no| New feature? | no <!-- please update src/**/CHANGELOG.md files -->| BC breaks? | yes <!-- seehttps://symfony.com/bc -->| Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->| Tests pass? | yes <!-- please add some, will be required by reviewers -->| Fixed tickets | related ticket#31289 <!-- #-prefixed issue number(s), if any -->| License | MIT| Doc PR | symfony/symfony-docs#tbd <!-- required for new features -->This PR removes tag `tagged` which was deprecated in#31321Commits-------9978184 [DI] removed tagged
This PR was submitted for the master branch but it was squashed and merged into the 4.4 branch instead (closes#11708).Discussion----------[DI] Add deprecation info for !taggedFixes#11706Feature PR:symfony/symfony#31321Commits-------65263e1 [DI] Add deprecation info for !tagged
This PR was merged into the 1.12 branch.Discussion----------| Q | A ||-----------------|--------------------------------------------------------------|| Branch? | 1.12 <!-- see the comment below --> || Bug fix? | no || New feature? | no || BC breaks? | no || Deprecations? | no|| Related tickets | || License | MIT |As `tagged` has been deprecated in Symfony 4.4:symfony/symfony#31321<!-- - Bug fixes must be submitted against the 1.10 or 1.11 branch(the lowest possible) - Features and deprecations must be submitted against the master branch - Make sure that the correct base branch is set To be sure you are not breaking any Backward Compatibilities, check the documentation:https://docs.sylius.com/en/latest/book/organization/backward-compatibility-promise.html-->Commits-------8e9eb8c Rename tag tagged to tagged_iterator
This PR was merged into the 1.12 branch.Discussion----------| Q | A ||-----------------|--------------------------------------------------------------|| Branch? | 1.12 <!-- see the comment below --> || Bug fix? | no || New feature? | no || BC breaks? | no || Deprecations? | no|| Related tickets | || License | MIT |As `tagged` has been deprecated in Symfony 4.4:symfony/symfony#31321<!-- - Bug fixes must be submitted against the 1.10 or 1.11 branch(the lowest possible) - Features and deprecations must be submitted against the master branch - Make sure that the correct base branch is set To be sure you are not breaking any Backward Compatibilities, check the documentation:https://docs.sylius.com/en/latest/book/organization/backward-compatibility-promise.html-->Commits-------8e9eb8cffeed5d19e4cdb60409faca4d4b4fd5cd Rename tag tagged to tagged_iterator
Uh oh!
There was an error while loading.Please reload this page.
Todo