From 1b48944601df6c01dba7488c43c466cdbc17455e Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Thu, 14 May 2015 18:59:06 +0200 Subject: [PATCH] silence possible notices --- src/pharext/Task/Cleanup.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pharext/Task/Cleanup.php b/src/pharext/Task/Cleanup.php index 3684806..54e64e9 100644 --- a/src/pharext/Task/Cleanup.php +++ b/src/pharext/Task/Cleanup.php @@ -40,12 +40,12 @@ class Cleanup implements Task RecursiveIteratorIterator::CHILD_FIRST); foreach ($rii as $path => $child) { if ($child->isDir()) { - rmdir($path); + @rmdir($path); } else { - unlink($path); + @unlink($path); } } - rmdir($this->rm); + @rmdir($this->rm); } else { @unlink($this->rm); } -- 2.30.2