fix(bin): 更新了迁移脚本的目录

Signed-off-by: 李东云 <dongyu.li@luxcreo.ai>
This commit is contained in:
李东云
2023-12-15 16:08:00 +08:00
parent 4d8a918898
commit da518799b3

View File

@@ -16,6 +16,7 @@ use Rector\Renaming\Rector\Name\RenameClassRector;
use Rector\Renaming\ValueObject\MethodCallRename; use Rector\Renaming\ValueObject\MethodCallRename;
return static function (RectorConfig $rectorConfig): void { return static function (RectorConfig $rectorConfig): void {
defined('BASE_PATH') || define('BASE_PATH', dirname(__DIR__, 3));
$rectorConfig->importNames(true, false); $rectorConfig->importNames(true, false);
$rectorConfig->paths([ $rectorConfig->paths([