[phd] master: Fix deprecation in 8.5
| From: | Niels Dossche via GitHub | Date: | Sun, 11 Jan 2026 11:03:23 +0000 |
| Subject: | [phd] master: Fix deprecation in 8.5 | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-22935@lists.php.net to get a copy of this message | ||
Author: Niels Dossche (ndossche)
Committer: GitHub (web-flow)
Pusher: ndossche
Date: 2026-01-11T12:03:21+01:00
Commit: https://github.com/php/phd/commit/b7b9b845e5109e76e011143986642780bd20753c
Raw diff: https://github.com/php/phd/commit/b7b9b845e5109e76e011143986642780bd20753c.diff
Fix deprecation in 8.5
Changed paths:
M render.php
Diff:
diff --git a/render.php b/render.php
index 2f1b31c2..c9600edc 100644
--- a/render.php
+++ b/render.php
@@ -116,7 +116,7 @@
$reader->open($config->xmlFile, NULL, $readerOpts);
$render->execute($reader);
- $render->detach($format);
+ $render->offsetUnset($format);
$outputHandler->v("Indexing done", VERBOSE_INDEXING);
} else {