Replace deprecated spl_object_hash() with spl_object_id() in ConnectionErrorProof (#1738)
php 8.6 deprecates spl_object_hash(). ConnectionErrorProof only uses it as an array key for per-connection exceptions, so spl_object_id() is a drop-in replacement. added a dedicated test for the pipeline.
This commit is contained in:
1 parent
869eb626d4
commit
839ef60ab2
3 files changed
+165
-4
No files matched your search
@@ -12,6 +12,7 @@
|
||||
- Fixed cluster CAS transactions returning transaction objects for reads and sending `MULTI` twice
|
||||
- Fixed `MultiExec::multi()` being ignored as the first call of a CAS transaction
|
||||
- Fixed cleanup of empty transactions and transaction callbacks that throw PHP errors
|
||||
- Fixed `spl_object_hash()` deprecation on PHP 8.6 in `ConnectionErrorProof` pipeline
|
||||
|
||||
### Security
|
||||
- Fixed aborted cluster transactions leaving node connections in `MULTI`
|
||||
|
||||
Reference in new issue
Block a user