From: Michael Wallner Date: Thu, 14 May 2015 16:59:06 +0000 (+0200) Subject: silence possible notices X-Git-Tag: v4.0.0~10 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=1b48944601df6c01dba7488c43c466cdbc17455e;p=pharext%2Fpharext silence possible notices --- 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); }