Skip to content

Conversation

GaryJones
Copy link
Contributor

Allow VCR configuration to be used, instead of forcing a fallback to YAML cassette storage.

This could probably be further enhanced by also checking for .yaml extension. If that's wanted, I can add it in.

Moving forwards, there should probably be some way for this package to read what the registered storage types are (JSON, YAML, Blackhole, something custom), and dynamically set that if an appropriate extension is detected.

Fixes #9

Allow VCR configuration to be used, instead of forcing a fallback to YAML cassette storage.

Fixes php-vcr#9
@adri
Copy link
Contributor

adri commented Jan 12, 2016

Thanks!

adri added a commit that referenced this pull request Jan 12, 2016
Support \VCR\VCR::configure()->setStorage
@adri adri merged commit e29c11d into php-vcr:master Jan 12, 2016
@adri
Copy link
Contributor

adri commented Jan 12, 2016

It's good, the default storage is yaml.

@GaryJones GaryJones deleted the 9-setstorage branch January 13, 2016 08:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants