From c98efc53a80150b6f9189c9b194855c748e9b03d Mon Sep 17 00:00:00 2001 From: Tristan Darricau Date: Fri, 7 Nov 2014 14:27:00 +0100 Subject: [ticket/12620] Fix rebase (move config file to the right directory) PHPBB3-12620 --- phpBB/config/default/container/services_event.yml | 25 +++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 phpBB/config/default/container/services_event.yml (limited to 'phpBB/config/default/container/services_event.yml') diff --git a/phpBB/config/default/container/services_event.yml b/phpBB/config/default/container/services_event.yml new file mode 100644 index 0000000000..1ccef78f9b --- /dev/null +++ b/phpBB/config/default/container/services_event.yml @@ -0,0 +1,25 @@ +services: + dispatcher: + class: phpbb\event\dispatcher + arguments: + - @service_container + + hook_finder: + class: phpbb\hook\finder + arguments: + - %core.root_path% + - %core.php_ext% + - @cache.driver + + kernel_exception_subscriber: + class: phpbb\event\kernel_exception_subscriber + arguments: + - @template + - @user + tags: + - { name: kernel.event_subscriber } + + kernel_terminate_subscriber: + class: phpbb\event\kernel_terminate_subscriber + tags: + - { name: kernel.event_subscriber } -- cgit v1.2.1 From 8f5a0ad6f73e7b7757b02c827436384c96069b5a Mon Sep 17 00:00:00 2001 From: Mate Bartus Date: Fri, 24 Jul 2015 09:20:50 +0200 Subject: [ticket/14039] Revamp updater PHPBB3-14039 --- phpBB/config/default/container/services_event.yml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'phpBB/config/default/container/services_event.yml') diff --git a/phpBB/config/default/container/services_event.yml b/phpBB/config/default/container/services_event.yml index 8fd4faa274..4a35add776 100644 --- a/phpBB/config/default/container/services_event.yml +++ b/phpBB/config/default/container/services_event.yml @@ -4,18 +4,11 @@ services: arguments: - @service_container - hook_finder: - class: phpbb\hook\finder - arguments: - - %core.root_path% - - %core.php_ext% - - @cache.driver - kernel_exception_subscriber: class: phpbb\event\kernel_exception_subscriber arguments: - @template - - @user + - @language tags: - { name: kernel.event_subscriber } -- cgit v1.2.1 From d9d89cad94eada62e900a012046b8d45c5aa3129 Mon Sep 17 00:00:00 2001 From: Matt Friedman Date: Mon, 7 Dec 2015 13:11:22 -0800 Subject: [ticket/14247] Use quotes around @ and % strings in YAML PHPBB3-14247 --- phpBB/config/default/container/services_event.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'phpBB/config/default/container/services_event.yml') diff --git a/phpBB/config/default/container/services_event.yml b/phpBB/config/default/container/services_event.yml index 4a35add776..8a55b933ac 100644 --- a/phpBB/config/default/container/services_event.yml +++ b/phpBB/config/default/container/services_event.yml @@ -2,13 +2,13 @@ services: dispatcher: class: phpbb\event\dispatcher arguments: - - @service_container + - '@service_container' kernel_exception_subscriber: class: phpbb\event\kernel_exception_subscriber arguments: - - @template - - @language + - '@template' + - '@language' tags: - { name: kernel.event_subscriber } -- cgit v1.2.1 From a29048abd6ea13ec00449c4c1c751c035cf5ed1c Mon Sep 17 00:00:00 2001 From: Oliver Schramm Date: Sat, 9 Sep 2017 17:08:27 +0200 Subject: [ticket/14933] Make "route not found" more user-friendly PHPBB3-14933 --- phpBB/config/default/container/services_event.yml | 1 + 1 file changed, 1 insertion(+) (limited to 'phpBB/config/default/container/services_event.yml') diff --git a/phpBB/config/default/container/services_event.yml b/phpBB/config/default/container/services_event.yml index 8a55b933ac..ca79df09e7 100644 --- a/phpBB/config/default/container/services_event.yml +++ b/phpBB/config/default/container/services_event.yml @@ -9,6 +9,7 @@ services: arguments: - '@template' - '@language' + - '%?debug.exceptions' tags: - { name: kernel.event_subscriber } -- cgit v1.2.1 From 7f8407b3217b657e2dfd6410a3526fda4da01c19 Mon Sep 17 00:00:00 2001 From: Oliver Schramm Date: Sat, 9 Sep 2017 17:37:10 +0200 Subject: [ticket/14933] Fix parameter for kernel_exception_subscriber PHPBB3-14933 --- phpBB/config/default/container/services_event.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'phpBB/config/default/container/services_event.yml') diff --git a/phpBB/config/default/container/services_event.yml b/phpBB/config/default/container/services_event.yml index ca79df09e7..5696275e64 100644 --- a/phpBB/config/default/container/services_event.yml +++ b/phpBB/config/default/container/services_event.yml @@ -9,7 +9,7 @@ services: arguments: - '@template' - '@language' - - '%?debug.exceptions' + - '%debug.exceptions%' tags: - { name: kernel.event_subscriber } -- cgit v1.2.1