public function __get($name)Inherited
$name |
wild |
public function __set($name, $value)Inherited
$name | ||
$value |
wild |
public function current()Inherited
wild |
public function key()Inherited
wild |
public function next()Inherited
wild |
public function rewind()Inherited
wild |
public function valid()Inherited
wild |
private function throwOnAttemptedIteration()Inherited
wild |
public function getPhobjectClassConstant($key, $byte_limit)Inherited
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.
string | $key | Name of the constant. |
int|null | $byte_limit | Maximum number of bytes permitted in the value. |
string | Value of the constant. |
abstract public function getKey()
Returns a unique identifier for the linter standard.
string |
abstract public function getName()
Returns a human-readable name for the linter standard.
string |
abstract public function getDescription()
Returns a human-readable description for the linter standard.
string |
abstract public function supportsLinter($linter)
Checks whether the linter standard supports a specified linter.
ArcanistLinter | $linter | The linter which is being configured. |
bool | True if the linter standard supports the specified linter, otherwise false. |
public function getLinterConfiguration()
Get linter configuration.
Returns linter configuration which is passed to ArcanistLinter::setLinterConfigurationValue().
map<string, wild> |
public function getLinterSeverityMap()
Get linter severities.
Returns linter severities which are passed to ArcanistLinter::addCustomSeverityMap().
map |
final public static function getStandard($key, $linter)
Load a linter standard by key.
string | $key | |
ArcanistLinter | $linter |
ArcanistLinterStandard |
final public static function loadAllStandards()
Load all linter standards.
list<ArcanistLinterStandard> |
final public static function loadAllStandardsForLinter($linter)
Load all linter standards which support a specified linter.
ArcanistLinter | $linter |
list<ArcanistLinterStandard> |