From 0b3495a0813a6178ff347a3e8835e4c834a527b7 Mon Sep 17 00:00:00 2001 From: Linnaea Von Lavia Date: Sat, 28 May 2016 22:40:00 +0800 Subject: [PATCH] Quote parameter references in services.yml Not quoting a scalar starting with the "%" indicator character is deprecated since Symfony 3.1 and will throw a ParseException in 4.0. --- Resources/config/services.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/Resources/config/services.yml b/Resources/config/services.yml index 4dbfa15..887d78e 100755 --- a/Resources/config/services.yml +++ b/Resources/config/services.yml @@ -7,17 +7,17 @@ parameters: services: captcha.type: - class: %gregwar_captcha.captcha_type.class% + class: '%gregwar_captcha.captcha_type.class%' arguments: - '@session' - '@gregwar_captcha.generator' - '@translator' - - %gregwar_captcha.config% + - '%gregwar_captcha.config%' tags: - { name: form.type, alias: captcha } gregwar_captcha.generator: - class: %gregwar_captcha.captcha_generator.class% + class: '%gregwar_captcha.captcha_generator.class%' arguments: - '@router' - '@gregwar_captcha.captcha_builder' @@ -25,15 +25,15 @@ services: - '@gregwar_captcha.image_file_handler' gregwar_captcha.image_file_handler: - class: %gregwar_captcha.image_file_handler.class% + class: '%gregwar_captcha.image_file_handler.class%' arguments: - - %gregwar_captcha.config.image_folder% - - %gregwar_captcha.config.web_path% - - %gregwar_captcha.config.gc_freq% - - %gregwar_captcha.config.expiration% + - '%gregwar_captcha.config.image_folder%' + - '%gregwar_captcha.config.web_path%' + - '%gregwar_captcha.config.gc_freq%' + - '%gregwar_captcha.config.expiration%' gregwar_captcha.captcha_builder: - class: %gregwar_captcha.captcha_builder.class% + class: '%gregwar_captcha.captcha_builder.class%' gregwar_captcha.phrase_builder: - class: %gregwar_captcha.phrase_builder.class% + class: '%gregwar_captcha.phrase_builder.class%'