From 96638f4332e50f7036a2a645496f6a00ec1c4cfc Mon Sep 17 00:00:00 2001 From: Ryan Weaver Date: Sat, 14 Jul 2012 16:39:53 -0500 Subject: [PATCH] [UPGRADE] Tweaking formatting error with event listener section. Also tweaking values Some of the values here are either wrong, or are drawing their logic from an area I can't find. I've used the following logic for this change: * security.firewall - this is easy, it just changed * locale listener - this didn't exist in Symfony 2.0, but it was done on the RouterListener::onKernelRequest(), which had a priority of 0. The new listener has a priority of 16 * The early request router listener is gone - I'm not sure it has an equivalent * The RouterListener priority changed from 0 to 32 --- UPGRADE-2.1.md | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/UPGRADE-2.1.md b/UPGRADE-2.1.md index b949f534f4..0582c6fa58 100644 --- a/UPGRADE-2.1.md +++ b/UPGRADE-2.1.md @@ -13,14 +13,15 @@ configuration (i.e. `config.yml`), merging could yield a set of base URL's for multiple environments. - * The priorities for the built-in listeners have changed: - - 2.0 2.1 - security.firewall request 64 8 - locale listener early_request 253 255 - request -1 16 - router listener early_request 255 128 - request 10 32 + * The priorities for the built-in listeners have changed. + + ``` + 2.0 2.1 + security.firewall kernel.request 64 8 + locale listener kernel.request 0 16 + router listener early_request 255 n/a + request 0 32 + ``` ### Doctrine