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 static function newFromDictionary($dict)
public static function newFromDictionary($dict)
Parameters
array | $dict |
Return
wild |
public function toDictionary()
public function toDictionary()
Return
wild |
public function setPath($path)
public function setPath($path)
Parameters
$path |
Return
wild |
public function getPath()
public function getPath()
Return
wild |
public function setLine($line)
public function setLine($line)
Parameters
$line |
Return
wild |
public function getLine()
public function getLine()
Return
wild |
public function setChar($char)
public function setChar($char)
Parameters
$char |
Return
wild |
public function getChar()
public function getChar()
Return
wild |
public function setCode($code)
public function setCode($code)
Parameters
$code |
Return
wild |
public function getCode()
public function getCode()
Return
wild |
public function setSeverity($severity)
public function setSeverity($severity)
Parameters
$severity |
Return
wild |
public function getSeverity()
public function getSeverity()
Return
wild |
public function setName($name)
public function setName($name)
Parameters
$name |
Return
wild |
public function getName()
public function getName()
Return
wild |
public function setDescription($description)
public function setDescription($description)
Parameters
$description |
Return
wild |
public function getDescription()
public function getDescription()
Return
wild |
public function setOriginalText($original)
public function setOriginalText($original)
Parameters
$original |
Return
wild |
public function getOriginalText()
public function getOriginalText()
Return
wild |
public function setReplacementText($replacement)
public function setReplacementText($replacement)
Parameters
$replacement |
Return
wild |
public function getReplacementText()
public function getReplacementText()
Return
wild |
public function setOtherLocations($locations)
public function setOtherLocations($locations)
Parameters
dict | $locations | Keys 'path', 'line', 'char', 'original'. |
Return
wild |
public function getOtherLocations()
public function getOtherLocations()
Return
wild |
public function isError()
public function isError()
Return
wild |
public function isWarning()
public function isWarning()
Return
wild |
public function isAutofix()
public function isAutofix()
Return
wild |
public function hasFileContext()
public function hasFileContext()
Return
wild |
public function setObsolete($obsolete)
public function setObsolete($obsolete)
Parameters
$obsolete |
Return
wild |
public function getObsolete()
public function getObsolete()
Return
wild |
public function isPatchable()
public function isPatchable()
Return
wild |
public function didApplyPatch()
public function didApplyPatch()
Return
wild |
public function isPatchApplied()
public function isPatchApplied()
Return
wild |
public function setGranularity($granularity)
public function setGranularity($granularity)
Parameters
$granularity |
Return
wild |
public function getGranularity()
public function getGranularity()
Return
wild |
public function setDependentMessages($messages)
public function setDependentMessages($messages)
Parameters
array | $messages |
Return
wild |
public function setBypassChangedLineFiltering($bypass_changed_lines)
public function setBypassChangedLineFiltering($bypass_changed_lines)
Parameters
$bypass_changed_lines |
Return
wild |
public function shouldBypassChangedLineFiltering()
public function shouldBypassChangedLineFiltering()
Return
wild |
private function validateInteger($value, $caller)
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 | $value | Integer or digit string. |
$caller |
Return
int | Integer. |
public function newTrimmedMessage()
public function newTrimmedMessage()
Return
wild |