优化代码

This commit is contained in:
2022-11-17 17:24:18 +08:00
parent d420dbd735
commit 4e833ff444
3 changed files with 11 additions and 11 deletions

View File

@@ -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;

View File

@@ -1,9 +0,0 @@
<?php
namespace app\common\exception;
use Exception;
class DirFindedException extends Exception
{
}

View File

@@ -0,0 +1,10 @@
<?php
namespace app\common\tools\phpparser;
use PhpParser\PrettyPrinter\Standard;
class PrettyPrinterTools extends Standard
{
}