Skip to content

Commit

Permalink
Merge pull request #10 from janvernieuwe/symfony4
Browse files Browse the repository at this point in the history
Add symfony4 requirements
  • Loading branch information
K-Phoen authored Jan 19, 2018
2 parents 3b401e6 + 23f5f92 commit c53dddf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions Resources/config/services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ services:
vcr.config:
class: VCR\Configuration
calls:
- [ enableLibraryHooks, [ %vcr.library_hooks% ]]
- [ enableRequestMatchers, [ %vcr.request_matchers% ] ]
- [ setCassettePath, [ %vcr.cassette.path% ] ]
- [ setStorage, [ %vcr.cassette.type% ] ]
- [ enableLibraryHooks, [ "%vcr.library_hooks%" ]]
- [ enableRequestMatchers, [ "%vcr.request_matchers%" ] ]
- [ setCassettePath, [ "%vcr.cassette.path%" ] ]
- [ setStorage, [ "%vcr.cassette.type%" ] ]

vcr.http_client:
class: VCR\Util\HttpClient
Expand All @@ -29,3 +29,4 @@ services:
arguments: [ '@vcr.config', '@vcr.http_client', '@vcr.factory' ]
calls:
- [ setEventDispatcher, [ '@event_dispatcher' ] ]
public: true
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.6||~3.0",
"symfony/framework-bundle": "~2.6||~3.0||~4.0",
"php-vcr/php-vcr": "~1.2"
},
"autoload": {
Expand Down

0 comments on commit c53dddf

Please sign in to comment.