From ce47b2342fb31abda5866ac3cc7d67d5ce5fa308 Mon Sep 17 00:00:00 2001 From: jelhan Date: Wed, 18 May 2016 16:15:28 -0700 Subject: [PATCH] Not supported by PHP 5.6 --- api/tests/_support/CleanUpExtension.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/api/tests/_support/CleanUpExtension.php b/api/tests/_support/CleanUpExtension.php index ce6e839..14cc0fd 100644 --- a/api/tests/_support/CleanUpExtension.php +++ b/api/tests/_support/CleanUpExtension.php @@ -20,8 +20,7 @@ class CleanUpExtension extends \Codeception\Extension } if(is_dir($dir . '/' . $entry)) { - $method = __METHOD__; - $method($dir .'/' . $entry); + self::deleteDirRecursively($dir .'/' . $entry); } else { unlink($dir . '/' . $entry);