I am working on migrating an existing Symfony 2.8
project to Symfony 3.4
. While testing the 3.4 project in dev
mode the Symfony toolbar is a great help.
However the Symfony / the toolbar always logs/shows all warnings and notices, no matter if they are relevant to me or not.
For example I know that third party bundle XY is not ready for Symfony 4
and thus includes some deprecated methods. I cannot change this and for the moment it does not matter.
However, I still would like to know if my own code uses deprecated methods to fix this now, since I am refactoring the code anyway.
I found different threads about this question, but the only solution was to disable warnings in general (e.g. here).
This would work to see no deprecation warnings at all, but as described I would like to remove / silence specific warnings only.
Is it somehow possible to silence warnings form BundleA or ClassB while still seeing warnings from CodeC?
I know that PHP it self cannot do this, but maybe there is some way to configure the dev toolbar to do this?