Skip to content

Commit e7094c1

Browse files
committed
Removed 4.4 versionadded and deprecations
1 parent 153ca91 commit e7094c1

File tree

2 files changed

+0
-28
lines changed

2 files changed

+0
-28
lines changed

reference/configuration/framework.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -589,10 +589,6 @@ error_controller
589589

590590
**type**: ``string`` **default**: ``error_controller``
591591

592-
.. versionadded:: 4.4
593-
594-
The ``error_controller`` option was introduced in Symfony 4.4.
595-
596592
This is the controller that is called when an exception is thrown anywhere in
597593
your application. The default controller
598594
(:class:`Symfony\\Component\\HttpKernel\\Controller\\ErrorController`)

reference/configuration/twig.rst

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ Configuration
4242

4343
* `debug`_
4444
* `default_path`_
45-
* `exception_controller`_
4645
* `form_themes`_
4746
* `globals`_
4847
* `number_format`_
@@ -196,29 +195,6 @@ The path to the directory where Symfony will look for the application Twig
196195
templates by default. If you store the templates in more than one directory, use
197196
the :ref:`paths <config-twig-paths>` option too.
198197

199-
.. _config-twig-exception-controller:
200-
201-
exception_controller
202-
~~~~~~~~~~~~~~~~~~~~
203-
204-
**type**: ``string`` **default**: ``twig.controller.exception:showAction``
205-
206-
.. deprecated:: 4.4
207-
208-
The ``exception_controller`` configuration option was deprecated in Symfony 4.4.
209-
Set it to ``null`` and use the new ``error_controller`` option under ``framework``
210-
configuration instead.
211-
212-
This is the controller that is activated after an exception is thrown anywhere
213-
in your application. The default controller
214-
(:class:`Symfony\\Bundle\\TwigBundle\\Controller\\ExceptionController`)
215-
is what's responsible for rendering specific templates under different error
216-
conditions (see :doc:`/controller/error_pages`). Modifying this
217-
option is advanced. If you need to customize an error page you should use
218-
the previous link. If you need to perform some behavior on an exception,
219-
you should add an :doc:`event listener </event_dispatcher>` to the
220-
:ref:`kernel.exception event <kernel-kernel.exception>`.
221-
222198
.. _config-twig-form-themes:
223199

224200
form_themes

0 commit comments

Comments
 (0)