Skip to content

Conversation

@ivancli
Copy link

@ivancli ivancli commented Jul 31, 2022

This PR is to fix the deprecation warning in #39

@specialtactics
Copy link

I'm struggling to figure out why this would be a problem - there is an empty check right above that code.

@ivancli ivancli changed the title Add cassette null check before substr Update Cassette Name Check Condition Aug 20, 2022
@ivancli
Copy link
Author

ivancli commented Aug 20, 2022

I'm struggling to figure out why this would be a problem - there is an empty check right above that code.

I've cleaned up the code a bit to also check for null now.

PHP8.1 shows a warning when the $cassetteName is null which the check couldn't catch.

@ivancli ivancli closed this Oct 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants