symfony: Display deprecated triggered during cache warmup

Hi!

Description
Currently it does not look possible to get deprecated calls generated during cache warmup. These deprecations look to be stored in a file like var/cache/dev/srcApp_KernelDevDebugContainerDeprecations.log and they are displayed in the web profiler. But when you have a CLI only app, one could like to see these deprecations directly in CLI (better DX IMHO).

I think that it would be interesting to display these deprecations during cache:warmup when a very verbose mode is activated like -vvv.

Also, what about a new command that would display these cached deprecations? Something like debug:deprecations or debug:cached-deprecations.

Cheers!

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Reactions: 8
  • Comments: 16 (13 by maintainers)

Commits related to this issue

Most upvoted comments

~working on it ;)~

A command line tool to export (unique) deprecations would be very useful in general.

OK, let me close then, I don’t feel like this missing part is preventing ppl from migrating to next majors.

I’ll try implementing missing formats (md, json and xml)