Helpers
class Helpers
Test helpers.
Methods
static void
purge(string $dir)
Purges directory.
static string
findCommonDirectory(array $paths)
Find common directory for given paths. All files or directories must exist.
static array
parseDocComment(string $s)
Parse phpDoc comment.
static string
errorTypeToString(int $type)
No description
static string
escapeArg(string $s)
Escape a string to be used as a shell argument.
Details
at line 21
static void
purge(string $dir)
Purges directory.
at line 44
static string
findCommonDirectory(array $paths)
internal |
Find common directory for given paths. All files or directories must exist.
at line 73
static array
parseDocComment(string $s)
internal |
Parse phpDoc comment.
at line 98
static string
errorTypeToString(int $type)
internal |
No description
at line 114
static string
escapeArg(string $s)
internal |
Escape a string to be used as a shell argument.