public function addPHPErrorMessage(string $message, string $file, int $number, int $line): self
    {
        $this->messages[] = [
          'type' => self::TYPE_PHP,
          'message' => $message,
          'file' => $file,
          'number' => $number,
          'line' => $line
        ];

        return $this;
    }