[phd] master: Replace deprecated SplObjectStorage::detach() with offsetUnset()
| From: | lacatoire via Gina Peter Banyard | Date: | Tue, 03 Feb 2026 18:40:06 +0000 |
| Subject: | [phd] master: Replace deprecated SplObjectStorage::detach() with offsetUnset() | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-23118@lists.php.net to get a copy of this message | ||
Author: lacatoire (lacatoire)
Committer: Gina Peter Banyard (Girgias)
Date: 2026-02-03T18:35:36Z
Commit: https://github.com/php/phd/commit/34f18a654beea9d6abe212ee522fbc2b9363775d
Raw diff: https://github.com/php/phd/commit/34f18a654beea9d6abe212ee522fbc2b9363775d.diff
Replace deprecated SplObjectStorage::detach() with offsetUnset()
Changed paths:
M phpdotnet/phd/TestRender.php
Diff:
diff --git a/phpdotnet/phd/TestRender.php b/phpdotnet/phd/TestRender.php
index a0f82f21..95cc79e9 100644
--- a/phpdotnet/phd/TestRender.php
+++ b/phpdotnet/phd/TestRender.php
@@ -17,7 +17,7 @@ public function run() {
$this->attach($this->index);
$this->reader->open($this->config->xmlFile);
$this->execute($this->reader);
- $this->detach($this->index);
+ $this->offsetUnset($this->index);
}
if ($this->format !== null) {