Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Symfony: How to filter deprecated alerts based on bundles

I've updated to Symfony 2.8. The debug toolbar tells me about a lot of deprecated calls but the majority of them are of third party bundles.

Is there a way to filter out these deprecation notices, so I can see only the ones that comes from my bundle? This way I can fix them, while currently I have to dig into a lot of notices and maybe I will lose some of mine deprecated calls.

like image 285
Aerendir Avatar asked Dec 30 '15 11:12

Aerendir


1 Answers

There is no option to filter them. And i think it's by purpose - as long as any of used bundles/components will use deprecated calls - you will can't upgrade to new release (3.0 for example).

I think that Bundle name is not even part of logged message (there is just stacktrace).

like image 178
Paweł Mikołajczuk Avatar answered Nov 15 '22 08:11

Paweł Mikołajczuk