From 4e833ff444984b46369e25585190763c8d478ec9 Mon Sep 17 00:00:00 2001 From: augushong Date: Thu, 17 Nov 2022 17:24:18 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/common/command/build/Dist.php | 3 +-- app/common/exception/DirFindedException.php | 9 --------- app/common/tools/phpparser/PrettyPrinterTools.php | 10 ++++++++++ 3 files changed, 11 insertions(+), 11 deletions(-) delete mode 100644 app/common/exception/DirFindedException.php create mode 100644 app/common/tools/phpparser/PrettyPrinterTools.php diff --git a/app/common/command/build/Dist.php b/app/common/command/build/Dist.php index 8e9a164..4147af1 100644 --- a/app/common/command/build/Dist.php +++ b/app/common/command/build/Dist.php @@ -4,7 +4,6 @@ declare(strict_types=1); namespace app\common\command\build; -use app\common\exception\DirFindedException; use app\common\tools\PathTools; use app\common\tools\phpparser\NodeVisitorTools; use League\Flysystem\Adapter\Local; @@ -29,7 +28,7 @@ use PhpParser\Node\Stmt\UseUse; use PhpParser\NodeTraverser; use PhpParser\NodeVisitorAbstract; use PhpParser\ParserFactory; -use PhpParser\PrettyPrinter\Standard; +use app\common\tools\phpparser\PrettyPrinterTools as Standard; use think\console\Command; use think\console\Input; use think\console\input\Argument; diff --git a/app/common/exception/DirFindedException.php b/app/common/exception/DirFindedException.php deleted file mode 100644 index 315773f..0000000 --- a/app/common/exception/DirFindedException.php +++ /dev/null @@ -1,9 +0,0 @@ -