From 8c532efd5f02f7a7e5ea322a07ddcf49d130a8ec Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 17 Oct 2015 10:09:03 -0400 Subject: Run php-cs-fixer on the code base --- app/Core/Lexer.php | 3 --- 1 file changed, 3 deletions(-) (limited to 'app/Core/Lexer.php') diff --git a/app/Core/Lexer.php b/app/Core/Lexer.php index 92443c2c..ca2ef895 100644 --- a/app/Core/Lexer.php +++ b/app/Core/Lexer.php @@ -60,7 +60,6 @@ class Lexer $this->offset = 0; while (isset($input[$this->offset])) { - $result = $this->match(substr($input, $this->offset)); if ($result === false) { @@ -84,7 +83,6 @@ class Lexer { foreach ($this->tokenMap as $pattern => $name) { if (preg_match($pattern, $string, $matches)) { - $this->offset += strlen($matches[1]); return array( @@ -113,7 +111,6 @@ class Lexer ); while (false !== ($token = current($tokens))) { - switch ($token['token']) { case 'T_ASSIGNEE': case 'T_COLOR': -- cgit v1.2.3