/opt/cpanel/ea-wappspector/vendor/rector/rector/src/FileSystem
Edit: /opt/cpanel/ea-wappspector/vendor/rector/rector/src/FileSystem/FilesystemTweaker.php (1050B)
foundInGlob($path);
$absolutePathsFound = \array_merge($absolutePathsFound, $foundPaths);
} else {
$absolutePathsFound[] = $path;
}
}
return $absolutePathsFound;
}
/**
* @return string[]
*/
private function foundInGlob(string $path) : array
{
/** @var string[] $paths */
$paths = (array) \glob($path);
return \array_filter($paths, static function (string $path) : bool {
return \file_exists($path);
});
}
}