[phd] master: Fix borked test GH-225.php

From: Date: Tue, 18 Aug 2026 18:42:31 +0000
Subject: [phd] master: Fix borked test GH-225.php
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-23573@lists.php.net to get a copy of this message
Author: Jordi Kroon (jordikroon) Date: 2026-08-18T20:42:24+02:00 Commit: https://github.com/php/phd/commit/b862131644327389bd60dacd55fb2936f24f9621 Raw diff: https://github.com/php/phd/commit/b862131644327389bd60dacd55fb2936f24f9621.diff Fix borked test GH-225.php Changed paths: M tests/GH-225.phpt Diff: diff --git a/tests/GH-225.phpt b/tests/GH-225.phpt index bf418192..086426e1 100644 --- a/tests/GH-225.phpt +++ b/tests/GH-225.phpt @@ -25,6 +25,13 @@ require_once __DIR__ . "/../render.php"; --CLEAN-- <?php \unlink(__DIR__ . "/../phd.config.php"); +$iterator = new \RecursiveIteratorIterator( + new \RecursiveDirectoryIterator(__DIR__ . "/../output/", \FilesystemIterator::SKIP_DOTS), + \RecursiveIteratorIterator::CHILD_FIRST +); +foreach ($iterator as $file) { + $file->isDir() ? \rmdir($file->getPathname()) : \unlink($file->getPathname()); +} \rmdir(__DIR__ . "/../output/"); ?> --EXPECTF--

« previous php.doc.cvs (#23573) next »