8000 VCR::turnOff() does not restore stream wrappers · Issue #350 · php-vcr/php-vcr · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
VCR::turnOff() does not restore stream wrappers #350
Open
@robertpustulka

Description

@robertpustulka

Looks like Soap and Curl Hooks don't restore the original stream wrapper when calling disable():

https://github.com/php-vcr/php-vcr/blob/master/src/VCR/LibraryHooks/CurlHook.php#L93-L122

https://github.com/php-vcr/php-vcr/blob/master/src/VCR/LibraryHooks/SoapHook.php#L95-L122

$this->processor->restore() should be called to effectively restore the original wrapper.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0