public function getKey()
public function getKey()
ArcanistLinterStandard
Returns a unique identifier for the linter standard.
ArcanistPhutilXHPASTLinterStandard
Return
string |
public function getName()
public function getName()
ArcanistLinterStandard
Returns a human-readable name for the linter standard.
ArcanistPhutilXHPASTLinterStandard
Return
string |
public function getDescription()
public function getDescription()
ArcanistLinterStandard
Returns a human-readable description for the linter standard.
ArcanistPhutilXHPASTLinterStandard
Return
string |
public function supportsLinter($linter)
public function supportsLinter($linter)
ArcanistLinterStandard
Checks whether the linter standard supports a specified linter.
ArcanistPhutilXHPASTLinterStandard
Parameters
ArcanistLinter | $linter | The linter which is being configured. |
Return
bool | True if the linter standard supports the specified linter, otherwise false. |
public function getLinterConfiguration()
public function getLinterConfiguration()
ArcanistLinterStandard
Get linter configuration.
Returns linter configuration which is passed to ArcanistLinter::setLinterConfigurationValue().
ArcanistPhutilXHPASTLinterStandard
Return
map<string, wild> |
public function getLinterSeverityMap()
public function getLinterSeverityMap()
ArcanistLinterStandard
Get linter severities.
Returns linter severities which are passed to ArcanistLinter::addCustomSeverityMap().
ArcanistPhutilXHPASTLinterStandard
Return
map |
final public static function getStandard($key, $linter)Inherited
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
final public static function loadAllStandards()
Inherited
ArcanistLinterStandard
Load all linter standards.
Return
list<ArcanistLinterStandard> |
final public static function loadAllStandardsForLinter($linter)Inherited
final public static function loadAllStandardsForLinter($linter)
Inherited
ArcanistLinterStandard
Load all linter standards which support a specified linter.
Parameters
ArcanistLinter | $linter |
Return
list<ArcanistLinterStandard> |