Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[DependencyInjection] Enable deprecating parameters#47719
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
stof 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.
This misses the update of the ContainerBuilder merging to copy the deprecations.
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.
750ef59 to02f5339CompareHeahDude commentedSep 29, 2022
Thanks for the heads-up :), fixed! |
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/XmlFileLoader.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/DependencyInjection/ParameterBag/FrozenParameterBag.phpShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/DependencyInjection/ParameterBag/ParameterBag.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/DependencyInjection/ParameterBag/ParameterBagInterface.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.
c662cd1 to62455c9CompareHeahDude commentedOct 22, 2022
The new implementation does not trigger deprecations in the API itself, so the label can be removed. |
fcb85cd toa22b22cCompare8172f78 toe47d070Compare8a2634a tod3ee161Compare
nicolas-grekas left a comment• 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.
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.
I just squashed+added a commit with some tweaks.
LGTM thanks!
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
HeahDude commentedDec 17, 2022
While trying the feature I realized that the |
63d39b0 tobb6432bComparebb6432b toc806be8Compare
nicolas-grekas 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.
Still 👍 on my side after the last changes
/cc @symfony/mergers any other comments?
chalasr commentedJan 11, 2023
Thank you@HeahDude. |
c806be8 to0f0a2fbComparechalasr commentedJan 11, 2023
gh went wrong due to some race condition, merged inbe5fbce |
OskarStark commentedJan 11, 2023
Looks like there was no doc issue opened 🤔 |
…utput of `debug:container` command (HeahDude)This PR was squashed before being merged into the 6.4 branch.Discussion----------[FrameworkBundle] Add parameters deprecations to the output of `debug:container` command| Q | A| ------------- | ---| Branch? | 6.4| Bug fix? | no| New feature? | yes| Deprecations? | no| Tickets | ~| License | MIT| Doc PR | ~Since#47719 parameters can be deprecated but one needs to read the deprecation logs carefully.It would be convenient to have the info when dumping them with debug commands.Here's a glimpse of text format (the fixtures in tests can do the rest):<img width="1126" alt="Screenshot 2023-07-18 at 12 50 49 PM" src="https://github.com/symfony/symfony/assets/10107633/6a2ea20b-be3c-4428-bb5d-aa97f3b38803">I don't know if we really want to support all formats since it may break BC somehow if parsers are used to read the output.I still tried to adapt them all in this PR for consistency.But JSON required an object to display both the value and the deprecation, another way could be to add a specific entry for one or all deprecations.Commits-------7963e9d [FrameworkBundle] Add parameters deprecations to the output of `debug:container` command
Uh oh!
There was an error while loading.Please reload this page.
Following#47680, this PR allows deprecating parameters either to move to build parameters, or to rename them or just to be able to remove them in a BC way.
TODO: