-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Deprecation callstack line number in profiler off by one #16640
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
Comments
@nicolas-grekas can you check this as well ? The issue is either in the display or in the data being sent (or in a misunderstanding between them) |
the issue is in the template, thus for @javiereguiluz : php stack traces give what has been called in this file on that line. |
…uiluz) This PR was merged into the 2.8 branch. Discussion ---------- Fixes the stack traces of the deprecation logs | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #16640 | License | MIT | Doc PR | The stack trace information was displayed in a very confusing way. Now it's easier to understand what is called from which file and line. ### Before  ### After  Commits ------- 09f4895 Fixes the stack traces of the deprecation logs
We can close this issue because it was fixed in #16658. Thanks. |
I'm using
symfony-demo
as an upgrade example for a tutorial, and I noticed that the deprecation are off by one entry. Well, maybe not off but it doesn't read quite right:In fact, line 89 should refer to
ResourceCheckerConfigCache::isFresh()
- there is no line 89 inBCResourceInterfaceChecker
. AndResourceCheckerConfigCache
doesn't do anything on line 45 - it's actuallyResourceCheckerConfigCacheFactory
that does work on line 45.Thoughts @javiereguiluz?
The text was updated successfully, but these errors were encountered: