Page MenuHomePhorge

final class ArcanistLintMessage
libphutil Technical Documentation ()

Message emitted by a linter, like an error or warning.

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 static function newFromDictionary($dict)

This method is not documented.
Parameters
array$dict
Return
wild

public function toDictionary()

This method is not documented.
Return
wild

public function setPath($path)

This method is not documented.
Parameters
$path
Return
wild

public function getPath()

This method is not documented.
Return
wild

public function setLine($line)

This method is not documented.
Parameters
$line
Return
wild

public function getLine()

This method is not documented.
Return
wild

public function setChar($char)

This method is not documented.
Parameters
$char
Return
wild

public function getChar()

This method is not documented.
Return
wild

public function setCode($code)

This method is not documented.
Parameters
$code
Return
wild

public function getCode()

This method is not documented.
Return
wild

public function setSeverity($severity)

This method is not documented.
Parameters
$severity
Return
wild

public function getSeverity()

This method is not documented.
Return
wild

public function setName($name)

This method is not documented.
Parameters
$name
Return
wild

public function getName()

This method is not documented.
Return
wild

public function setDescription($description)

This method is not documented.
Parameters
$description
Return
wild

public function getDescription()

This method is not documented.
Return
wild

public function setOriginalText($original)

This method is not documented.
Parameters
$original
Return
wild

public function getOriginalText()

This method is not documented.
Return
wild

public function setReplacementText($replacement)

This method is not documented.
Parameters
$replacement
Return
wild

public function getReplacementText()

This method is not documented.
Return
wild

public function setOtherLocations($locations)

This method is not documented.
Parameters
dict$locationsKeys 'path', 'line', 'char', 'original'.
Return
wild

public function getOtherLocations()

This method is not documented.
Return
wild

public function isError()

This method is not documented.
Return
wild

public function isWarning()

This method is not documented.
Return
wild

public function isAutofix()

This method is not documented.
Return
wild

public function hasFileContext()

This method is not documented.
Return
wild

public function setObsolete($obsolete)

This method is not documented.
Parameters
$obsolete
Return
wild

public function getObsolete()

This method is not documented.
Return
wild

public function isPatchable()

This method is not documented.
Return
wild

public function didApplyPatch()

This method is not documented.
Return
wild

public function isPatchApplied()

This method is not documented.
Return
wild

public function setGranularity($granularity)

This method is not documented.
Parameters
$granularity
Return
wild

public function getGranularity()

This method is not documented.
Return
wild

public function setDependentMessages($messages)

This method is not documented.
Parameters
array$messages
Return
wild

public function setBypassChangedLineFiltering($bypass_changed_lines)

This method is not documented.
Parameters
$bypass_changed_lines
Return
wild
This method is not documented.
Return
wild

private function validateInteger($value, $caller)

Validate an integer-like value, returning a strict integer.

Further on, the pipeline is strict about types. We want to be a little less strict in linters themselves, since they often parse command line output or XML and will end up with string representations of numbers.

Parameters
mixed$valueInteger or digit string.
$caller
Return
intInteger.

public function newTrimmedMessage()

This method is not documented.
Return
wild