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

This PR was squashed before being merged into the 4.4 branch (closes #33621).

Discussion
----------

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

This reverts commit 21a05de9bf, reversing
changes made to 24faadc905.

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | no
| New feature?  | yes
| Deprecations? |
| Tickets       | Fix #33467
| License       | MIT
| Doc PR        |

Commits
-------

e767bb1b42 Revert \"feature #33507 [WebProfiler] Deprecated intercept_redirects in 4.4 (dorumd)\"
This commit is contained in:
Fabien Potencier 2019-09-23 17:45:42 +02:00
commit 3f96ef2b65
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()
; ;