Page MenuHomePhorge
Diviner Arcanist Tech Docs ArcanistPhutilXHPASTLinterStandard

final class ArcanistPhutilXHPASTLinterStandard
Arcanist Technical Documentation (Lint)

This class is not documented.

Methods

public function __get($name)
Inherited

This method is not documented.
Parameters
$name
Return
wild

public function __set($name, $value)
Inherited

This method is not documented.
Parameters
$name
$value
Return
wild

public function current()
Inherited

This method is not documented.
Return
wild

public function key()
Inherited

This method is not documented.
Return
wild

public function next()
Inherited

This method is not documented.
Return
wild

public function rewind()
Inherited

This method is not documented.
Return
wild

public function valid()
Inherited

This method is not documented.
Return
wild

private function throwOnAttemptedIteration()
Inherited

This method is not documented.
Return
wild

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$keyName of the constant.
int|null$byte_limitMaximum number of bytes permitted in the value.
Return
stringValue of the constant.

public function getKey()

ArcanistLinterStandard

Returns a unique identifier for the linter standard.

ArcanistPhutilXHPASTLinterStandard
This method is not documented.
Return
string

public function getName()

ArcanistLinterStandard

Returns a human-readable name for the linter standard.

ArcanistPhutilXHPASTLinterStandard
This method is not documented.
Return
string

public function getDescription()

ArcanistLinterStandard

Returns a human-readable description for the linter standard.

ArcanistPhutilXHPASTLinterStandard
This method is not documented.
Return
string

public function supportsLinter($linter)

ArcanistLinterStandard

Checks whether the linter standard supports a specified linter.

ArcanistPhutilXHPASTLinterStandard
This method is not documented.
Parameters
ArcanistLinter$linterThe linter which is being configured.
Return
boolTrue if the linter standard supports the specified linter, otherwise false.

public function getLinterConfiguration()

ArcanistLinterStandard

Get linter configuration.

Returns linter configuration which is passed to ArcanistLinter::setLinterConfigurationValue().

ArcanistPhutilXHPASTLinterStandard
This method is not documented.
Return
map<string, wild>

public function getLinterSeverityMap()

ArcanistLinterStandard

Get linter severities.

Returns linter severities which are passed to ArcanistLinter::addCustomSeverityMap().

ArcanistPhutilXHPASTLinterStandard
This method is not documented.
Return
map

final public static function getStandard($key, $linter)
Inherited

ArcanistLinterStandard

Load a linter standard by key.

Parameters
string$key
ArcanistLinter$linter
Return
ArcanistLinterStandard

final public static function loadAllStandards()
Inherited

ArcanistLinterStandard

Load all linter standards.

Return
list<ArcanistLinterStandard>

final public static function loadAllStandardsForLinter($linter)
Inherited

ArcanistLinterStandard

Load all linter standards which support a specified linter.

Parameters
ArcanistLinter$linter
Return
list<ArcanistLinterStandard>