From da518799b3b4301302217af1faa452adbcacf02b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E4=B8=9C=E4=BA=91?= Date: Fri, 15 Dec 2023 16:08:00 +0800 Subject: [PATCH] =?UTF-8?q?fix(bin):=20=E6=9B=B4=E6=96=B0=E4=BA=86?= =?UTF-8?q?=E8=BF=81=E7=A7=BB=E8=84=9A=E6=9C=AC=E7=9A=84=E7=9B=AE=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 李东云 --- hyperf31_rector.php | 1 + 1 file changed, 1 insertion(+) diff --git a/hyperf31_rector.php b/hyperf31_rector.php index a6729fb..03cfa14 100644 --- a/hyperf31_rector.php +++ b/hyperf31_rector.php @@ -16,6 +16,7 @@ use Rector\Renaming\Rector\Name\RenameClassRector; use Rector\Renaming\ValueObject\MethodCallRename; return static function (RectorConfig $rectorConfig): void { + defined('BASE_PATH') || define('BASE_PATH', dirname(__DIR__, 3)); $rectorConfig->importNames(true, false); $rectorConfig->paths([