Closed
Description
phpunit-testlistener-vcr/src/VCRTestListener.php
Lines 49 to 51 in 7ef7225
If, for instance, the test doesn't have a @vcr
annotation, that value (from array_pop($parsed)
) may be null. This causes a TypeError
due to the strict_types
declaration.
Probably could be fixed by moving the empty($cassetteName)
check before the check for a .json
extension.
phpunit-testlistener-vcr/src/VCRTestListener.php
Lines 53 to 55 in 7ef7225
Metadata
Metadata
Assignees
Labels
No labels