Skip to content

Commit

Permalink
Merge pull request #4 from tlenclos/symfony3
Browse files Browse the repository at this point in the history
Update bundle for Symfony 3
  • Loading branch information
K-Phoen committed Mar 7, 2016
2 parents 92e53db + 6f08fc4 commit 3b401e6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
4 changes: 2 additions & 2 deletions Resources/config/listeners.yml
Original file line number Diff line number Diff line change
@@ -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 }
11 changes: 5 additions & 6 deletions Resources/config/services.yml
Original file line number Diff line number Diff line change
@@ -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" }

Expand All @@ -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' ] ]
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
}
],
"require": {
"symfony/framework-bundle": "~2.3",
"symfony/framework-bundle": "~2.6||~3.0",
"php-vcr/php-vcr": "~1.2"
},
"autoload": {
Expand Down

0 comments on commit 3b401e6

Please sign in to comment.