From 4bdd48ca26b951d2f9c97bdaa78ddc5e550af951 Mon Sep 17 00:00:00 2001 From: Tyson Andre Date: Sat, 3 Mar 2018 10:24:03 -0800 Subject: [PATCH] Remove unused use statements --- src/Diagnostic.php | 2 -- src/NamespacedNameTrait.php | 1 - src/Parser.php | 1 - 3 files changed, 4 deletions(-) diff --git a/src/Diagnostic.php b/src/Diagnostic.php index c007d6b..a3e1228 100644 --- a/src/Diagnostic.php +++ b/src/Diagnostic.php @@ -6,8 +6,6 @@ namespace Microsoft\PhpParser; -use Microsoft\PhpParser\Node; - class Diagnostic { /** @var int */ public $kind; diff --git a/src/NamespacedNameTrait.php b/src/NamespacedNameTrait.php index cf1259c..3fc292b 100644 --- a/src/NamespacedNameTrait.php +++ b/src/NamespacedNameTrait.php @@ -9,7 +9,6 @@ namespace Microsoft\PhpParser; use Microsoft\PhpParser\Node\NamespaceUseClause; use Microsoft\PhpParser\Node\NamespaceUseGroupClause; use Microsoft\PhpParser\Node\QualifiedName; -use Microsoft\PhpParser\Node\Statement\ClassDeclaration; use Microsoft\PhpParser\Node\Statement\NamespaceDefinition; use Microsoft\PhpParser\Node\Statement\NamespaceUseDeclaration; diff --git a/src/Parser.php b/src/Parser.php index f9a8c10..34b89be 100644 --- a/src/Parser.php +++ b/src/Parser.php @@ -41,7 +41,6 @@ use Microsoft\PhpParser\Node\Expression\{ PostfixUpdateExpression, ScopedPropertyAccessExpression, SubscriptExpression, - TemplateExpression, TernaryExpression, UnaryExpression, UnaryOpExpression,