<?php is_dir(string $filename): bool
<?php public function __construct(?string $filepath = null) { if ($filepath !== null && is_dir($filepath)) { $filepath .= DIRECTORY_SEPARATOR.self::DEFAULT_RESULT_CACHE_FILENAME; }
<?php continue; } if (is_dir($filename)) { $directory = new RecursiveDirectoryIterator($filename); $iterator = new RecursiveIteratorIterator($directory);
<?php { $testsBaseDir = "{$this->testSuite->rootPath}/tests"; if (! is_dir($testsBaseDir)) { mkdir($testsBaseDir); }
<?php continue; } if (! is_dir(dirname($toPath))) { mkdir(dirname($toPath)); }
<?php $files = array_diff($scannedDir, ['.', '..']); foreach ($files as $file) { if (is_dir($path.'/'.$file)) { $deleteDirectory($path.'/'.$file); } else { unlink($path.'/'.$file);
<?php foreach ($this->uses as $path => $uses) { [$classOrTraits, $groups, $hooks] = $uses; if ((! is_dir($path) && $testCase->filename === $path) || (is_dir($path) && $startsWith($testCase->filename, $path))) { foreach ($classOrTraits as $class) { if (class_exists($class)) {