You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 49 to 51 in 7ef7225
If, for instance, the test doesn't have a
@vcr
annotation, that value (fromarray_pop($parsed)
) may be null. This causes aTypeError
due to thestrict_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
The text was updated successfully, but these errors were encountered: