[READ-ONLY] Subtree split of the Symfony HttpKernel Component
PHP
Latest commit f4b005c Dec 14, 2017 @fabpot fabpot feature #25366 [HttpKernel] Decouple exception logging from rendering…
… (ro0NL)

This PR was merged into the 4.1-dev branch.

Discussion
----------

[HttpKernel] Decouple exception logging from rendering

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #25266
| License       | MIT
| Doc PR        | symfony/symfony-docs#... <!--highly recommended for new features-->

Given your controller throws an exception and a custom exception listener sets a response.

Before
![image](https://user-images.githubusercontent.com/1047696/33676886-46e90e0a-dab7-11e7-9a3a-24c70b23d4e0.png)

After
![image](https://user-images.githubusercontent.com/1047696/33676832-1ac4f0aa-dab7-11e7-9ac4-483fcbdc06ee.png)

;-)

edit: raising the priority for the profiler listener fixes the exception panel also.

Commits
-------

a203d31838 [HttpKernel] Decouple exception logging from rendering
Permalink
Failed to load latest commit information.
Bundle Merge branch '3.4' Oct 24, 2017
CacheClearer Replace more docblocks by type-hints Nov 7, 2017
CacheWarmer Merge branch '3.4' Sep 29, 2017
Config Replace more docblocks by type-hints Nov 7, 2017
Controller Merge branch '3.4' into 4.0 Dec 8, 2017
ControllerMetadata Replace more docblocks by type-hints Nov 7, 2017
DataCollector Merge branch '4.0' Dec 1, 2017
Debug Replace more docblocks by type-hints Nov 7, 2017
DependencyInjection Merge branch '3.4' into 4.0 Dec 8, 2017
Event [HttpKernel] add type-hint for the requestType Nov 18, 2017
EventListener feature #25366 [HttpKernel] Decouple exception logging from rendering… Dec 14, 2017
Exception Replace more docblocks by type-hints Nov 7, 2017
Fragment Merge branch '3.4' into 4.0 Nov 30, 2017
HttpCache Merge branch '3.4' into 4.0 Dec 8, 2017
Log Merge branch '3.4' into 4.0 Nov 28, 2017
Profiler Replace more docblocks by type-hints Nov 7, 2017
Resources Show welcome message if no routing configuration could be found Oct 2, 2017
Tests feature #25366 [HttpKernel] Decouple exception logging from rendering… Dec 14, 2017
.gitignore Fix gitignore Mar 4, 2014
CHANGELOG.md [HttpKernel] Decouple exception logging from rendering Dec 6, 2017
Client.php [HttpFoundation] Incorrect documentation and method name for Uploaded… Dec 11, 2017
HttpKernel.php Merge branch '3.4' into 4.0 Dec 12, 2017
HttpKernelInterface.php remove api tags from code Sep 28, 2015
Kernel.php Merge branch '4.0' Dec 12, 2017
KernelEvents.php Merge branch '2.8' into 3.3 Nov 5, 2017
KernelInterface.php Merge branch '3.4' Oct 24, 2017
LICENSE updated LICENSE year Jan 2, 2017
README.md Updated all the README files Mar 4, 2016
RebootableInterface.php [HttpKernel][FrameworkBundle] Add RebootableInterface, fix and un-dep… Aug 18, 2017
TerminableInterface.php [DI] minor docblock fixes Oct 24, 2017
UriSigner.php Replace more docblocks by type-hints Nov 7, 2017
composer.json updated version to 4.1 Nov 21, 2017
phpunit.xml.dist fail when detecting risky tests Apr 12, 2017

README.md

HttpKernel Component

The HttpKernel component provides a structured process for converting a Request into a Response by making use of the EventDispatcher component. It's flexible enough to create a full-stack framework (Symfony), a micro-framework (Silex) or an advanced CMS system (Drupal).

Resources