Skip to content

Commit

Permalink
Add quotes to avoid deprecation notice
Browse files Browse the repository at this point in the history
Not quoting a scalar starting with the "%" indicator character is deprecated since Symfony 3.1 and will throw a ParseException in 4.0.
  • Loading branch information
Valegar authored Jul 26, 2016
1 parent c5b53fc commit aef1c6f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Resources/config/orm-services.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
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:
alias: ambta_doctrine_encrypt.orm_subscriber
ambta_doctrine_encrypt.encryptor:
class: Ambta\DoctrineEncryptBundle\Services\Encryptor
arguments:
- %ambta_doctrine_encrypt.encryptor_class_name%
- %ambta_doctrine_encrypt.secret_key%
- "%ambta_doctrine_encrypt.encryptor_class_name%"
- "%ambta_doctrine_encrypt.secret_key%"

0 comments on commit aef1c6f

Please sign in to comment.