listContents()) as $info) { if (is_file(__DIR__ . '/tests/files/' . $info['path'])) { unlink(__DIR__ . '/tests/files/' . $info['path']); } else { rmdir(__DIR__ . '/tests/files/' . $info['path']); } } // Constant which show when tests are run on windows define("IS_WINDOWS", strtolower(substr(PHP_OS, 0, 3)) === 'win');