We started getting fatal errors in our app when we upgraded from 6.1.0 to 6.2.0 with the error:
Redis::hDel() expects at least 2 arguments, 1 given
It turns out there was a bug in our code which could result in hDel being called with only 1 argument. It was easily fixed by checking $keys wasn't empty before calling hDel().
Just thought I'd raise it here as a behaviour change in a minor version release as it doesn't seem to be noted in the changelog, and could impact others.
I'm assuming it was this change that made it more strict:
4082dd0#diff-2b6a26e1f6be5c1e65dbb4a75590772d28149f0f85b3863e83e20771ba900969R3876-R3879
We started getting fatal errors in our app when we upgraded from 6.1.0 to 6.2.0 with the error:
Redis::hDel() expects at least 2 arguments, 1 given
It turns out there was a bug in our code which could result in hDel being called with only 1 argument. It was easily fixed by checking $keys wasn't empty before calling hDel().
Just thought I'd raise it here as a behaviour change in a minor version release as it doesn't seem to be noted in the changelog, and could impact others.
I'm assuming it was this change that made it more strict:
4082dd0#diff-2b6a26e1f6be5c1e65dbb4a75590772d28149f0f85b3863e83e20771ba900969R3876-R3879