Skip to content

Commit 23f5f92

Browse files
committed
Add symfony4 requirements
Make the services valid yaml Make the vcr.recorder service public
1 parent 6f08fc4 commit 23f5f92

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

Resources/config/services.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ services:
1111
vcr.config:
1212
class: VCR\Configuration
1313
calls:
14-
- [ enableLibraryHooks, [ %vcr.library_hooks% ]]
15-
- [ enableRequestMatchers, [ %vcr.request_matchers% ] ]
16-
- [ setCassettePath, [ %vcr.cassette.path% ] ]
17-
- [ setStorage, [ %vcr.cassette.type% ] ]
14+
- [ enableLibraryHooks, [ "%vcr.library_hooks%" ]]
15+
- [ enableRequestMatchers, [ "%vcr.request_matchers%" ] ]
16+
- [ setCassettePath, [ "%vcr.cassette.path%" ] ]
17+
- [ setStorage, [ "%vcr.cassette.type%" ] ]
1818

1919
vcr.http_client:
2020
class: VCR\Util\HttpClient
@@ -29,3 +29,4 @@ services:
2929
arguments: [ '@vcr.config', '@vcr.http_client', '@vcr.factory' ]
3030
calls:
3131
- [ setEventDispatcher, [ '@event_dispatcher' ] ]
32+
public: true

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
}
1111
],
1212
"require": {
13-
"symfony/framework-bundle": "~2.6||~3.0",
13+
"symfony/framework-bundle": "~2.6||~3.0||~4.0",
1414
"php-vcr/php-vcr": "~1.2"
1515
},
1616
"autoload": {

0 commit comments

Comments
 (0)