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