From e767bb1b421ffc73c64133dafebb722725b7d845 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20Pineau?= Date: Wed, 18 Sep 2019 10:46:08 +0200 Subject: [PATCH] Revert \"feature #33507 [WebProfiler] Deprecated intercept_redirects in 4.4 (dorumd)\" --- UPGRADE-4.4.md | 2 -- UPGRADE-5.0.md | 2 -- src/Symfony/Bundle/WebProfilerBundle/CHANGELOG.md | 2 -- .../WebProfilerBundle/DependencyInjection/Configuration.php | 2 +- 4 files changed, 1 insertion(+), 7 deletions(-) diff --git a/UPGRADE-4.4.md b/UPGRADE-4.4.md index 77796fc969..fac338772d 100644 --- a/UPGRADE-4.4.md +++ b/UPGRADE-4.4.md @@ -323,8 +323,6 @@ WebProfilerBundle * Deprecated the `ExceptionController` class in favor of `ExceptionErrorController` * Deprecated the `TemplateManager::templateExists()` method - * Deprecated the `web_profiler.intercept_redirects` config option, - toolbar for the redirected resource contains a link to the redirect response profile instead. WebServerBundle --------------- diff --git a/UPGRADE-5.0.md b/UPGRADE-5.0.md index 1d8a31d050..a12260fd7b 100644 --- a/UPGRADE-5.0.md +++ b/UPGRADE-5.0.md @@ -577,8 +577,6 @@ WebProfilerBundle * Removed the `ExceptionController::templateExists()` method * Removed the `TemplateManager::templateExists()` method - * Removed the `web_profiler.intercept_redirects` config option, - toolbar for the redirected resource contains a link to the redirect response profile instead. Workflow -------- diff --git a/src/Symfony/Bundle/WebProfilerBundle/CHANGELOG.md b/src/Symfony/Bundle/WebProfilerBundle/CHANGELOG.md index 3040f0b55c..257924f0aa 100644 --- a/src/Symfony/Bundle/WebProfilerBundle/CHANGELOG.md +++ b/src/Symfony/Bundle/WebProfilerBundle/CHANGELOG.md @@ -12,8 +12,6 @@ CHANGELOG * deprecated the `ExceptionController` in favor of `ExceptionPanelController` * marked all classes of the WebProfilerBundle as internal * added a section with the stamps of a message after it is dispatched in the Messenger panel - * deprecated the `web_profiler.intercept_redirects` config option, - toolbar for the redirected resource contains a link to the redirect response profile instead. 4.3.0 ----- diff --git a/src/Symfony/Bundle/WebProfilerBundle/DependencyInjection/Configuration.php b/src/Symfony/Bundle/WebProfilerBundle/DependencyInjection/Configuration.php index 303208f606..f0ac357127 100644 --- a/src/Symfony/Bundle/WebProfilerBundle/DependencyInjection/Configuration.php +++ b/src/Symfony/Bundle/WebProfilerBundle/DependencyInjection/Configuration.php @@ -36,7 +36,7 @@ class Configuration implements ConfigurationInterface $treeBuilder->getRootNode() ->children() ->booleanNode('toolbar')->defaultFalse()->end() - ->booleanNode('intercept_redirects')->defaultFalse()->setDeprecated('The "intercept_redirects" option is deprecated since version 4.4 and will be removed in 5.0.')->end() + ->booleanNode('intercept_redirects')->defaultFalse()->end() ->scalarNode('excluded_ajax_paths')->defaultValue('^/((index|app(_[\w]+)?)\.php/)?_wdt')->end() ->end() ;