From aef1c6f10a6b816387355e3931abc71154d5b55e Mon Sep 17 00:00:00 2001 From: Valentin Carage Date: Tue, 26 Jul 2016 16:03:20 +0200 Subject: [PATCH] Add quotes to avoid deprecation notice 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/orm-services.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Resources/config/orm-services.yml b/Resources/config/orm-services.yml index 427db034..a46943ce 100644 --- a/Resources/config/orm-services.yml +++ b/Resources/config/orm-services.yml @@ -1,7 +1,7 @@ services: ambta_doctrine_encrypt.orm_subscriber: class: Ambta\DoctrineEncryptBundle\Subscribers\DoctrineEncryptSubscriber - arguments: ["@annotation_reader", %ambta_doctrine_encrypt.encryptor_class_name%, %ambta_doctrine_encrypt.secret_key%] + arguments: ["@annotation_reader", "%ambta_doctrine_encrypt.encryptor_class_name%", "%ambta_doctrine_encrypt.secret_key%"] tags: - { name: doctrine.event_subscriber } ambta_doctrine_encrypt.subscriber: @@ -9,5 +9,5 @@ services: ambta_doctrine_encrypt.encryptor: class: Ambta\DoctrineEncryptBundle\Services\Encryptor arguments: - - %ambta_doctrine_encrypt.encryptor_class_name% - - %ambta_doctrine_encrypt.secret_key% \ No newline at end of file + - "%ambta_doctrine_encrypt.encryptor_class_name%" + - "%ambta_doctrine_encrypt.secret_key%"