diff --git a/Resources/config/listeners.yml b/Resources/config/listeners.yml index 09a2885..e6e6cbf 100644 --- a/Resources/config/listeners.yml +++ b/Resources/config/listeners.yml @@ -1,12 +1,12 @@ services: vcr.listener.http_request: class: VCR\VCRBundle\EventListener\HttpRequestListener - arguments: [ @vcr.logger ] + arguments: [ '@vcr.logger' ] tags: - { name: kernel.event_subscriber } vcr.listener.playback: class: VCR\VCRBundle\EventListener\PlaybackListener - arguments: [ @vcr.logger ] + arguments: [ '@vcr.logger' ] tags: - { name: kernel.event_subscriber } diff --git a/Resources/config/services.yml b/Resources/config/services.yml index 45d85e3..282dc68 100644 --- a/Resources/config/services.yml +++ b/Resources/config/services.yml @@ -1,7 +1,7 @@ services: data_collector.vcr: class: VCR\VCRBundle\DataCollector\VCRDataCollector - arguments: [ @vcr.logger ] + arguments: [ '@vcr.logger' ] tags: - { name: data_collector, template: "VCRVCRBundle:Profiler:collector", id: "vcr_collector" } @@ -21,12 +21,11 @@ services: vcr.factory: class: VCR\VCRFactory - factory_class: VCR\VCRFactory - factory_method: getInstance - arguments: [ @vcr.config ] + factory: [VCR\VCRFactory, getInstance] + arguments: [ '@vcr.config' ] vcr.recorder: class: VCR\Videorecorder - arguments: [ @vcr.config, @vcr.http_client, @vcr.factory ] + arguments: [ '@vcr.config', '@vcr.http_client', '@vcr.factory' ] calls: - - [ setEventDispatcher, [ @event_dispatcher ] ] + - [ setEventDispatcher, [ '@event_dispatcher' ] ] diff --git a/composer.json b/composer.json index 08334bd..69e8e29 100644 --- a/composer.json +++ b/composer.json @@ -10,7 +10,7 @@ } ], "require": { - "symfony/framework-bundle": "~2.3", + "symfony/framework-bundle": "~2.6||~3.0", "php-vcr/php-vcr": "~1.2" }, "autoload": {