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
Report deprecations when running a cli app #15568
Comments
@nicolas-grekas the trace should also be added in log messages for the profiler (the profiler panel is able to display the trace if it is passed in the logging context as |
I had a colleague checking 2.8 deprecations and he reported it to be nearly impossible to trace them unless you dig a lot in the code. 👍 for a stacktrace. |
@stof's comment is very important. Right now the profiler looks like this for the deprecation messages: We display neither the trace nor the file name + line number, so this information is not very useful at the moment. |
@javiereguiluz are you sure you have the last version? Because we fixed this a few days ago... |
I thought I had the latest version. Can you please point me to the relevant PR that changed this? Thanks. |
This thread has been hijacked for adding a stacktrace, which is available now, closing. If someone else wants to create an other issue on the original topic, or better a PR, please do. |
The deprecations could be summarized/aggregated in a similar way to our phpunit bridge, maybe with a new global cli option.
The text was updated successfully, but these errors were encountered: