Revert \"feature #33507 [WebProfiler] Deprecated intercept_redirects in 4.4 (dorumd)\"

This commit is contained in:
Grégoire Pineau 2019-09-18 10:46:08 +02:00 committed by Fabien Potencier
parent c1ab2c64c5
commit e767bb1b42
4 changed files with 1 additions and 7 deletions

View File

@ -323,8 +323,6 @@ WebProfilerBundle
* Deprecated the `ExceptionController` class in favor of `ExceptionErrorController` * Deprecated the `ExceptionController` class in favor of `ExceptionErrorController`
* Deprecated the `TemplateManager::templateExists()` method * 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 WebServerBundle
--------------- ---------------

View File

@ -577,8 +577,6 @@ WebProfilerBundle
* Removed the `ExceptionController::templateExists()` method * Removed the `ExceptionController::templateExists()` method
* Removed the `TemplateManager::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 Workflow
-------- --------

View File

@ -12,8 +12,6 @@ CHANGELOG
* deprecated the `ExceptionController` in favor of `ExceptionPanelController` * deprecated the `ExceptionController` in favor of `ExceptionPanelController`
* marked all classes of the WebProfilerBundle as internal * 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 * 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 4.3.0
----- -----

View File

@ -36,7 +36,7 @@ class Configuration implements ConfigurationInterface
$treeBuilder->getRootNode() $treeBuilder->getRootNode()
->children() ->children()
->booleanNode('toolbar')->defaultFalse()->end() ->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() ->scalarNode('excluded_ajax_paths')->defaultValue('^/((index|app(_[\w]+)?)\.php/)?_wdt')->end()
->end() ->end()
; ;