-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[FrameworkBundle] Wire the translation.reader service instead of deprecated translation.loader in commands #24943
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
[FrameworkBundle] Wire the translation.reader service instead of deprecated translation.loader in commands #24943
Conversation
…ecated translation.loader in commands
Thank you @ogizanagi. |
…ead of deprecated translation.loader in commands (ogizanagi) This PR was merged into the 3.4 branch. Discussion ---------- [FrameworkBundle] Wire the translation.reader service instead of deprecated translation.loader in commands | Q | A | ------------- | --- | Branch? | 3.4 <!-- see comment below --> | Bug fix? | yes | New feature? | no <!-- don't forget to update src/**/CHANGELOG.md files --> | BC breaks? | no | Deprecations? | no <!-- don't forget to update UPGRADE-*.md files --> | Tests pass? | yes | Fixed tickets | N/A <!-- #-prefixed issue number(s), if any --> | License | MIT | Doc PR | N/A to get rid of the following deprec: > The class "Symfony\Bundle\FrameworkBundle\Translation\TranslationLoader" is deprecated since version 3.4 and will be removed in 4.0. Use "Symfony\Component\Translation\Reader\TranslationReader" Commits ------- 8da283b [FrameworkBundle] Wire the translation.reader service instead of deprecated translation.loader in commands
@ogizanagi I'm still seeing a deprecation message when building the container. |
@kbond : This is not released yet. Did you apply this patch locally but still having this deprec? |
Yes, latest 3.4 branch |
Could you please check for occurrences of |
No and I see it on a fresh symfony-standard app (downloaded 3.4, ran composer update, enabled translation in |
I was able to stop the dep message by removing this line: symfony/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php Line 1122 in ecad1c4
But I'm not sure why that worked... |
I've opened #24959 to keep track of this. Thanks for the report. :) |
to get rid of the following deprec: