bug #36838 [HttpKernel] Bring back the debug toolbar (derrabus)

This PR was merged into the 4.4 branch.

Discussion
----------

[HttpKernel] Bring back the debug toolbar

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

This PR effectively reverts #36789 in order to fix a regression caused by that PR.

Commits
-------

9f8d225aa1 Revert "Change priority of KernelEvents::RESPONSE subscriber"
This commit is contained in:
Fabien Potencier 2020-05-18 09:50:27 +02:00
commit 87c6683a98
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ class ProfilerListener implements EventSubscriberInterface
public static function getSubscribedEvents()
{
return [
KernelEvents::RESPONSE => ['onKernelResponse', -1012],
KernelEvents::RESPONSE => ['onKernelResponse', -100],
KernelEvents::EXCEPTION => ['onKernelException', 0],
KernelEvents::TERMINATE => ['onKernelTerminate', -1024],
];