severe ? 'static_analysis_severe' : 'static_analysis_minor'], "{$this->file}:{$this->line}", $this->message ); } public function log(): void { Logger::log((string) $this, Logger::FATAL_ERROR); } public function getHTML(): string { $issueStr = \htmlentities((string) $this); $color = $this->severe ? 'red' : 'orange'; $warning = "

{$issueStr}

"; return $warning; } public function throw(): void { throw new Exception(message: (string) $this, file: $this->file, line: $this->line); } }