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:
dualfroz committed 2026-10-08 10:41:25 +03:00
1 parent 869eb626d4
commit 839ef60ab2
3 files changed
+165 -4

No files matched your search

+1
View File
@@ -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`