From 46881181fbd84e7db35228a552ddebfc02396a5a Mon Sep 17 00:00:00 2001 From: Brian Henry Date: Sun, 26 May 2024 17:23:26 -0700 Subject: [PATCH] Update IntegrationTestCase.php --- tests/Integration/Util/IntegrationTestCase.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Integration/Util/IntegrationTestCase.php b/tests/Integration/Util/IntegrationTestCase.php index 137a1803..14a07c08 100644 --- a/tests/Integration/Util/IntegrationTestCase.php +++ b/tests/Integration/Util/IntegrationTestCase.php @@ -95,7 +95,7 @@ protected function deleteDir($dir) /** @var \SplFileInfo $file */ foreach ($files as $file) { - if ($isSymlink($file->getRealPath())) { + if ($isSymlink($file->getPath())) { if (false !== strpos('WIN', PHP_OS)) { /** * `unlink()` will not work on Windows. `rmdir()` will not work if there are files in the directory.