Skip to content

Commit

Permalink
Remove deprecation messages for unquoted vars
Browse files Browse the repository at this point in the history
Remove the deprecation messages like:
```Not quoting the scalar "%lsw_gettext_locale_listener.class%" starting with the "%" indicator character is deprecated since Symfony 3.1 and will throw a ParseException in 4.0. ```
  • Loading branch information
marc-casoliva authored Oct 5, 2016
1 parent 818a792 commit 7cc36b6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Resources/config/services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ parameters:

services:
lsw_gettext_translation_extension:
class: %lsw_gettext_translation_extension.class%
class: '%lsw_gettext_translation_extension.class%'
tags:
- { name: twig.extension }
lsw_gettext_locale_listener:
class: %lsw_gettext_locale_listener.class%
arguments: [%gettext.locale_shortcuts%, "@router", %kernel.root_dir%]
class: '%lsw_gettext_locale_listener.class%'
arguments: ['%gettext.locale_shortcuts%', "@router", '%kernel.root_dir%']
tags:
- { name: kernel.event_listener, event: kernel.request, method: onKernelRequest }

0 comments on commit 7cc36b6

Please sign in to comment.