original_string: public static function createFromParseError(ParseError $parseError): self
      {
          return new self(
              $parseError->getSourceLine(),
              0,
              "Parse error: " . $parseError->getMessage(),
              self::SEVERITY_ERROR,
              get_class($parseError)
          );
      }
code: public static function createFromParseError(ParseError $parseError): self
      {
          return new self(
              $parseError->getSourceLine(),
              0,
              "Parse error: " . $parseError->getMessage(),
              self::SEVERITY_ERROR,
              get_class($parseError)
          );
      }
code_tokens: public static function createFromParseError ( ParseError $ parseError ) : self { return new self ( $ parseError -> getSourceLine ( ) , 0 , "Parse error: " . $ parseError -> getMessage ( ) , self :: SEVERITY_ERROR , get_class ( $ parseError ) ) ; }
docstring: Creates a new warning from a parse error.
  
  @param ParseError $parseError The parse error to convert into a warning.
  @return Issue The converted warning.
docstring_tokens: Creates a new warning from a parse error .