Closed
Description
I'm working on a 2.8 project and some bundles are using deprecated functions which causes a lot of "Remaining deprecation notices" after outputting my test results. I would like to see an option to disable the DeprecationErrorHandler in general so no output is done at all regarding deprecation warnings.
I think there are roughly 2 options:
- Add a "SYMFONY_DEPRECATIONS_HELPER_DISABLE" environment variable so the handler is not registered
- Add a "SYMFONY_DEPRECATIONS_HELPER" = "none" option so the handler doesn't do anything
For me option 1 would seem the make the most sense, why load the handler in the first place if you don't want to use it right? :)
Just to be clear: I am aware of the "weak" option but my project will run for a few month tops so I am not interested to migrate to 3.0 standards in this case.