Skip to content
Permalink
Browse files

Remove yml deprecations in services.yml

  • Loading branch information...
Pierstoval committed May 3, 2016
1 parent ad76e6c commit b6edd0f583ed2a3966e47ebbff39613b7a07dbbd
Showing with 9 additions and 9 deletions.
  1. +3 −3 Resources/config/services.yml
  2. +2 −2 Resources/config/services_v2.yml
  3. +4 −4 Resources/config/services_v3.yml
@@ -2,15 +2,15 @@ services:
orbitale_cms.listeners.layouts:
class: Orbitale\Bundle\CmsBundle\EventListener\LayoutsListener
arguments:
config: %orbitale_cms.config%
config: '%orbitale_cms.config%'
templating: "@templating"
tags:
- { name: kernel.event_subscriber }

orbitale_cms.twig.extension:
class: Orbitale\Bundle\CmsBundle\Twig\CmsExtension
arguments:
- %orbitale_cms.config%
- '%orbitale_cms.config%'
tags: [ { name: twig.extension } ]

# These are the Gedmo services needed to manage Doctrine Extensions
@@ -25,4 +25,4 @@ services:
tags:
- { name: doctrine.event_subscriber, connection: default }
calls:
- [ setAnnotationReader, [ "@annotation_reader" ] ]
- [ setAnnotationReader, [ "@annotation_reader" ] ]
@@ -6,7 +6,7 @@ services:
arguments:
- Orbitale\Bundle\CmsBundle\Entity\Page
calls:
- [ "setConfig", [%orbitale_cms.config%] ]
- [ 'setConfig', ['%orbitale_cms.config%'] ]

orbitale_cms.category_repository:
class: Orbitale\Bundle\CmsBundle\Repository\CategoryRepository
@@ -15,4 +15,4 @@ services:
arguments:
- Orbitale\Bundle\CmsBundle\Entity\Category
calls:
- [ "setConfig", [%orbitale_cms.config%] ]
- [ 'setConfig', ['%orbitale_cms.config%'] ]
@@ -1,16 +1,16 @@
services:
orbitale_cms.page_repository:
class: Orbitale\Bundle\CmsBundle\Repository\PageRepository
factory: ["@doctrine.orm.entity_manager", "getRepository"]
factory: ['@doctrine.orm.entity_manager', 'getRepository']
arguments:
- Orbitale\Bundle\CmsBundle\Entity\Page
calls:
- [ "setConfig", [%orbitale_cms.config%] ]
- [ 'setConfig', ['%orbitale_cms.config%'] ]

orbitale_cms.category_repository:
class: Orbitale\Bundle\CmsBundle\Repository\CategoryRepository
factory: ["@doctrine.orm.entity_manager", "getRepository"]
factory: ['@doctrine.orm.entity_manager', 'getRepository']
arguments:
- Orbitale\Bundle\CmsBundle\Entity\Category
calls:
- [ "setConfig", [%orbitale_cms.config%] ]
- [ 'setConfig', ['%orbitale_cms.config%'] ]

0 comments on commit b6edd0f

Please sign in to comment.
You can’t perform that action at this time.