isFile() || strpos($file, 'All') === 0) { continue; } $fileName = $file->getRealPath(); if (substr($fileName, -4) === '.php') { $suite->addTestFile($file->getRealPath()); } } return $suite; } }