Skip to content

Commit

Permalink
minor #32776 [WebProfilerBundle] remove the deprecated ExceptionContr…
Browse files Browse the repository at this point in the history
…oller (xabbuh)

This PR was merged into the 5.0-dev branch.

Discussion
----------

[WebProfilerBundle] remove the deprecated ExceptionController

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | yes
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets |
| License       | MIT
| Doc PR        |

Commits
-------

1266a39 remove the deprecated ExceptionController
  • Loading branch information
Tobion committed Jul 29, 2019
2 parents 672c95e + 1266a39 commit b41e34d
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 96 deletions.
2 changes: 1 addition & 1 deletion src/Symfony/Bundle/WebProfilerBundle/CHANGELOG.md
Expand Up @@ -4,7 +4,7 @@ CHANGELOG
5.0.0
-----

* removed the `ExceptionController::templateExists()` method
* removed the `ExceptionController`, use `ExceptionPanelController` instead
* removed the `TemplateManager::templateExists()` method

4.4.0
Expand Down

This file was deleted.

Expand Up @@ -22,15 +22,6 @@
<argument type="service" id="router" on-invalid="null" />
</service>

<service id="web_profiler.controller.exception" class="Symfony\Bundle\WebProfilerBundle\Controller\ExceptionController" public="true">
<argument type="service" id="profiler" on-invalid="null" />
<argument type="service" id="twig" />
<argument>%kernel.debug%</argument>
<argument type="service" id="debug.file_link_formatter" />
<argument type="service" id="error_renderer.renderer.html" />
<deprecated>The "%service_id%" service is deprecated since Symfony 4.4, use the "web_profiler.controller.exception_panel" service instead.</deprecated>
</service>

<service id="web_profiler.controller.exception_panel" class="Symfony\Bundle\WebProfilerBundle\Controller\ExceptionPanelController" public="true">
<argument type="service" id="error_renderer.renderer.html" />
<argument type="service" id="profiler" on-invalid="null" />
Expand Down

0 comments on commit b41e34d

Please sign in to comment.