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 |