We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0672791 commit 50dea20Copy full SHA for 50dea20
tests/unit/C3Test.php
@@ -33,7 +33,10 @@ protected function _tearDown()
33
{
34
unset($_SERVER['HTTP_X_CODECEPTION_CODECOVERAGE_DEBUG']);
35
unset($_SERVER['HTTP_X_CODECEPTION_CODECOVERAGE']);
36
- \Codeception\Util\FileSystem::deleteDir($this->c3_dir);
+
37
+ if (is_string($this->c3_dir)) {
38
+ \Codeception\Util\FileSystem::deleteDir($this->c3_dir);
39
+ }
40
41
if (method_exists('CodeCoverage', 'deactivate')) {
42
// PHPUnit 10+
0 commit comments