public function __construct(File $file, $line, $column, $severity, $message)
{
$this->file = $file;
$this->line = (int) $line;
$this->column = (int) $column;
$this->severity = min(self::SEVERITY_ERROR, max(self::SEVERITY_IGNORE, (int) $severity));
$this->message = $message;
}