public function __get($name)Inherited
public function __get($name)
Inherited
Parameters
$name |
Return
wild |
public function __set($name, $value)Inherited
public function __set($name, $value)
Inherited
Parameters
$name | ||
$value |
Return
wild |
public function current()Inherited
public function current()
Inherited
Return
wild |
public function key()Inherited
public function key()
Inherited
Return
wild |
public function next()Inherited
public function next()
Inherited
Return
wild |
public function rewind()Inherited
public function rewind()
Inherited
Return
wild |
public function valid()Inherited
public function valid()
Inherited
Return
wild |
private function throwOnAttemptedIteration()Inherited
private function throwOnAttemptedIteration()
Inherited
Return
wild |
public function getPhobjectClassConstant($key, $byte_limit)Inherited
public function getPhobjectClassConstant($key, $byte_limit)
Inherited
Phobject
Read the value of a class constant.
This is the same as just typing self::CONSTANTNAME, but throws a more useful message if the constant is not defined and allows the constant to be limited to a maximum length.
Parameters
string | $key | Name of the constant. |
int|null | $byte_limit | Maximum number of bytes permitted in the value. |
Return
string | Value of the constant. |
public function __construct()Inherited
public function __construct()
Inherited
Return
this | //Implicit.// |
final public function setConfigurationManager($configuration_manager)Inherited
final public function setConfigurationManager($configuration_manager)
Inherited
Parameters
ArcanistConfigurationManager | $configuration_manager |
Return
wild |
final public function getConfigurationManager()Inherited
final public function getConfigurationManager()
Inherited
Return
wild |
final public function setWorkingCopy($working_copy)Inherited
final public function setWorkingCopy($working_copy)
Inherited
Parameters
ArcanistWorkingCopyIdentity | $working_copy |
Return
wild |
final public function getWorkingCopy()Inherited
final public function getWorkingCopy()
Inherited
Return
wild |
final public function setPaths($paths)Inherited
final public function setPaths($paths)
Inherited
Parameters
$paths |
Return
wild |
public function getPaths()Inherited
public function getPaths()
Inherited
Return
wild |
final public function setPathChangedLines($path, $changed)Inherited
final public function setPathChangedLines($path, $changed)
Inherited
Parameters
$path | ||
$changed |
Return
wild |
final public function getPathChangedLines($path)Inherited
final public function getPathChangedLines($path)
Inherited
Parameters
$path |
Return
wild |
final public function setFileData($data)Inherited
final public function setFileData($data)
Inherited
Parameters
$data |
Return
wild |
final public function loadData($path)Inherited
final public function loadData($path)
Inherited
Parameters
$path |
Return
wild |
public function pathExists($path)Inherited
public function pathExists($path)
Inherited
Parameters
$path |
Return
wild |
final public function isDirectory($path)Inherited
final public function isDirectory($path)
Inherited
Parameters
$path |
Return
wild |
final public function isBinaryFile($path)Inherited
final public function isBinaryFile($path)
Inherited
Parameters
$path |
Return
wild |
final public function isSymbolicLink($path)Inherited
final public function isSymbolicLink($path)
Inherited
Parameters
$path |
Return
wild |
final public function getFilePathOnDisk($path)Inherited
final public function getFilePathOnDisk($path)
Inherited
Parameters
$path |
Return
wild |
final public function setMinimumSeverity($severity)Inherited
final public function setMinimumSeverity($severity)
Inherited
Parameters
$severity |
Return
wild |
final public function run()Inherited
final public function run()
Inherited
Return
wild |
final public function isSeverityEnabled($severity)Inherited
final public function isSeverityEnabled($severity)
Inherited
Parameters
$severity |
Return
wild |
private function shouldUseCache($cache_granularity, $repository_version)Inherited
private function shouldUseCache($cache_granularity, $repository_version)
Inherited
Parameters
$cache_granularity | ||
$repository_version |
Return
wild |
final public function setCachedResults($results)Inherited
final public function setCachedResults($results)
Inherited
Parameters
dict<string | $results | path, dict<string version, list<dict message>>> |
Return
this |
final public function getResults()Inherited
final public function getResults()
Inherited
Return
wild |
final public function getStoppedPaths()Inherited
final public function getStoppedPaths()
Inherited
Return
wild |
public function buildLinters()
public function buildLinters()
Return
wild |
final public function setRepositoryVersion($version)Inherited
final public function setRepositoryVersion($version)
Inherited
Parameters
$version |
Return
wild |
private function isRelevantMessage($message)Inherited
private function isRelevantMessage($message)
Inherited
Parameters
ArcanistLintMessage | $message |
Return
wild |
final protected function getResultForPath($path)Inherited
final protected function getResultForPath($path)
Inherited
Parameters
$path |
Return
wild |
final public function getLineAndCharFromOffset($path, $offset)Inherited
final public function getLineAndCharFromOffset($path, $offset)
Inherited
Parameters
$path | ||
$offset |
Return
wild |
protected function getCacheVersion()Inherited
protected function getCacheVersion()
Inherited
Return
wild |
public function getLinterResource($key, $default)Inherited
public function getLinterResource($key, $default)
Inherited
ArcanistLintEngine
Get a named linter resource shared by another linter.
This mechanism allows linters to share arbitrary resources, like the results of computation. If several linters need to perform the same expensive computation step, they can use a named resource to synchronize construction of the result so it doesn't need to be built multiple times.
Parameters
string | $key | Resource identifier. |
wild | $default | Optionally, default value to return if resource does not exist. |
Return
wild | Resource, or default value if not present. |
public function setLinterResource($key, $value)Inherited
public function setLinterResource($key, $value)
Inherited
ArcanistLintEngine
Set a linter resource that other linters can access.
See getLinterResource() for a description of this mechanism.
Parameters
string | $key | Resource identifier. |
wild | $value | Resource. |
Return
this |
private function getRunnableLinters($linters)Inherited
private function getRunnableLinters($linters)
Inherited
Parameters
array | $linters |
Return
wild |
private function executeLinters($runnable)Inherited
private function executeLinters($runnable)
Inherited
Parameters
array | $runnable |
Return
wild |
private function executeLintersOnChunk($runnable, $path_list)Inherited
private function executeLintersOnChunk($runnable, $path_list)
Inherited
Parameters
array | $runnable | |
array | $path_list |
Return
wild |
private function beginLintServiceCall($linter, $paths)Inherited
private function beginLintServiceCall($linter, $paths)
Inherited
Parameters
ArcanistLinter | $linter | |
array | $paths |
Return
wild |
private function endLintServiceCall($call_id)Inherited
private function endLintServiceCall($call_id)
Inherited
Parameters
$call_id |
Return
wild |
private function executeLinterOnPaths($linter, $paths)Inherited
private function executeLinterOnPaths($linter, $paths)
Inherited
Parameters
ArcanistLinter | $linter | |
array | $paths |
Return
wild |
private function executeDidLintOnPaths($linter, $paths)Inherited
private function executeDidLintOnPaths($linter, $paths)
Inherited
Parameters
ArcanistLinter | $linter | |
array | $paths |
Return
wild |
private function validateLintMessage($linter, $message)Inherited
private function validateLintMessage($linter, $message)
Inherited
Parameters
ArcanistLinter | $linter | |
ArcanistLintMessage | $message |
Return
wild |
private function loadAvailableLinters()
private function loadAvailableLinters()
Return
wild |
private function matchPaths($paths, $include, $exclude, $global_exclude)
private function matchPaths($paths, $include, $exclude, $global_exclude)
Parameters
array | $paths | |
array | $include | |
array | $exclude | |
array | $global_exclude |
Return
wild |