You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Under the hood, deprecations are logged on the ``php`` Monolog channel at ``INFO`` psr-3 level. But as soon as an extra ``deprecation`` channel exists; deprecations are logged into this channel instead. So you can log deprecations on this dedicated channel and make the ``deprecation_filter`` useless:
The deprecation logging into a dedicated channel was introduced in Symfony 5.1.
165
+
166
+
Road to Code Deprecation Free
167
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
168
+
1. Track the deprecations from the PHPUnit bridge and/or (depending on your test coverage) browse your application and note the deprecations on the web debug toolbar.
169
+
2. Deploy your code (that should not have deprecations anymore) on production and check for a while that no remaining deprecations are logged into ``prod.deprecations.log``.
170
+
3. When you're sure there is no more deprecations, follow the steps below to upgrade your application.