[DOC-CVS] [phd] master: Replace deprecated SplObjectStorage::detach() with offsetUnset()

[email protected] (lacatoire via Gina Peter Banyard)
Newsgroups php.doc.cvs
Message-ID <[email protected]>
Author: lacatoire (lacatoire)
Committer: Gina Peter Banyard (Girgias)
Date: 2026-02-03T18:35:36Z

Commit: https://github.com/php/phd/commit/65b6eaf04a554ecbad9667f8e123f323c43496ef
Raw diff: https://github.com/php/phd/commit/65b6eaf04a554ecbad9667f8e123f323c43496ef.diff

Replace deprecated SplObjectStorage::detach() with offsetUnset()

Changed paths:
  M  tests/bug_doc-en_GH-3353.phpt


Diff:

diff --git a/tests/bug_doc-en_GH-3353.phpt b/tests/bug_doc-en_GH-3353.phpt
index e2f0b0c3..b32584fb 100644
--- a/tests/bug_doc-en_GH-3353.phpt
+++ b/tests/bug_doc-en_GH-3353.phpt
@@ -26,7 +26,7 @@ $reader = new Reader($outputHandler);
 $reader->open($config->xmlFile, null, LIBXML_PARSEHUGE | LIBXML_XINCLUDE);
 $render->execute($reader);
 
-$render->detach($index);
+$render->offsetUnset($index);
 
 
 // Rendering
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.