Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[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 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
…ecated translation.loader in commands
fabpot commentedNov 13, 2017
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/Ato 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
kbond commentedNov 13, 2017
@ogizanagi I'm still seeing a deprecation message when building the container. |
ogizanagi commentedNov 13, 2017 • 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.
@kbond : This is not released yet. Did you apply this patch locally but still having this deprec? |
kbond commentedNov 13, 2017
Yes, latest 3.4 branch |
ogizanagi commentedNov 13, 2017
Could you please check for occurrences of |
kbond commentedNov 13, 2017
No and I see it on a fresh symfony-standard app (downloaded 3.4, ran composer update, enabled translation in |
kbond commentedNov 13, 2017
I was able to stop the dep message by removing this line: symfony/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php Line 1122 inecad1c4
But I'm not sure why that worked... |
ogizanagi commentedNov 13, 2017
I've opened#24959 to keep track of this. Thanks for the report. :) |
to get rid of the following deprec: