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 ef93f16 commit cefbd50Copy full SHA for cefbd50
tests/bootstrap.php
@@ -16,8 +16,5 @@
16
17
// create temporary directory
18
define('TEMP_DIR', __DIR__ . '/tmp/' . lcg_value());
19
-@mkdir(TEMP_DIR, 0777, TRUE); // @ - base directory may already exist
20
-register_shutdown_function(function () {
21
- Tester\Helpers::purge(TEMP_DIR);
22
- rmdir(TEMP_DIR);
23
-});
+@mkdir(dirname(TEMP_DIR));
+@mkdir(TEMP_DIR);
0 commit comments