Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.6k
[DI] Don't show internal service id on binding errors#27834
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
this needs tests |
now tested |
…olas-grekas)This PR was merged into the 3.4 branch.Discussion----------[DI] Don't show internal service id on binding errors| Q | A| ------------- | ---| Branch? | 3.4| Bug fix? | yes| New feature? | no| BC breaks? | no| Deprecations? | no| Tests pass? | yes| Fixed tickets | -| License | MIT| Doc PR | -Will throw Unused binding "$variableName" in service "App\Twig\AppExtension".instead of the current Unused binding "$variableName" in service ".abstract.instanceof.App\Twig\AppExtension".Commits-------61f005a [DI] Don't show internal service id on binding errors
viccherubini commentedJul 30, 2018
This appears to have broken my code in 3.4.13. I upgraded and I now get this error even if the binding is used in the code itself. I manually changed the file in question, |
Will throw
Unused binding "$variableName" in service "App\Twig\AppExtension".
instead of the current
Unused binding "$variableName" in service ".abstract.instanceof.App\Twig\AppExtension".