diff --git a/src/Searcher.php b/src/Searcher.php index 0eaca4b..09fe5f0 100644 --- a/src/Searcher.php +++ b/src/Searcher.php @@ -23,7 +23,6 @@ use PhpParser\NodeFinder; use PhpParser\NodeTraverser; use PhpParser\ParserFactory; -use PhpParser\PhpVersion; class Searcher { diff --git a/src/Support/VirtualFile.php b/src/Support/VirtualFile.php index 914af83..09bd3c2 100644 --- a/src/Support/VirtualFile.php +++ b/src/Support/VirtualFile.php @@ -18,7 +18,7 @@ public function __destruct() public function unlink() { - if (!strpos(dirname($this->path), sys_get_temp_dir())) { + if (! strpos(dirname($this->path), sys_get_temp_dir())) { return; }