-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
d56bc8b
to
fad0d11
Compare
src/Symfony/Component/DependencyInjection/Loader/Configurator/ContainerConfigurator.php
Show resolved
Hide resolved
src/Symfony/Component/DependencyInjection/Loader/Configurator/ContainerConfigurator.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/DependencyInjection/Loader/XmlFileLoader.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/DependencyInjection/Loader/YamlFileLoader.php
Outdated
Show resolved
Hide resolved
b5bbb98
to
6cd7c47
Compare
src/Symfony/Component/DependencyInjection/Loader/XmlFileLoader.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/DependencyInjection/Loader/schema/dic/services/services-1.0.xsd
Show resolved
Hide resolved
44c3096
to
6ebb340
Compare
src/Symfony/Component/DependencyInjection/Loader/Configurator/ContainerConfigurator.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/DependencyInjection/Loader/Configurator/ContainerConfigurator.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/DependencyInjection/Loader/XmlFileLoader.php
Outdated
Show resolved
Hide resolved
5398832
to
77bf619
Compare
src/Symfony/Component/DependencyInjection/Loader/Configurator/ContainerConfigurator.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/DependencyInjection/Loader/Configurator/ContainerConfigurator.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/DependencyInjection/Loader/XmlFileLoader.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/DependencyInjection/Loader/Configurator/ContainerConfigurator.php
Outdated
Show resolved
Hide resolved
The TravisCi failure seems strange to me. I added the new argument type |
@@ -60,7 +60,7 @@ | |||
|
|||
<!-- transports --> | |||
<service id="messenger.transport_factory" class="Symfony\Component\Messenger\Transport\TransportFactory"> | |||
<argument type="tagged" tag="messenger.transport_factory" /> | |||
<argument type="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
(rebase needed also) |
14a94a3
to
79099a0
Compare
79099a0
to
116da00
Compare
The failing job is checking out branch 4.4 and loading dependencies with your patch applied. |
00acdff
to
5597bd7
Compare
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
to
ab8fb18
Compare
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 tests Commits ------- ab8fb18 [DI] deprecates tag !tagged in favor of !tagged_iterator
@jschaedl would you mind sending a PR to remove the deprecated codes on master? |
@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 <!-- see https://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 #31321 Commits ------- 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 !tagged Fixes #11706 Feature PR: symfony/symfony#31321 Commits ------- 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
Todo