From bc7a9bf9c232d8b4dfff43fc73af54d161c2ea01 Mon Sep 17 00:00:00 2001 From: Stefano Arlandini Date: Tue, 1 Dec 2020 23:13:30 +0100 Subject: [PATCH] Remove useless code left from old implementation --- lib/PhpParser/Lexer.php | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/PhpParser/Lexer.php b/lib/PhpParser/Lexer.php index b0c21ea..832a3f4 100644 --- a/lib/PhpParser/Lexer.php +++ b/lib/PhpParser/Lexer.php @@ -85,7 +85,6 @@ class Lexer $scream = ini_set('xdebug.scream', '0'); - error_clear_last(); $this->tokens = @token_get_all($code); $this->postprocessTokens($errorHandler);