mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-01 15:32:48 +08:00
数据库迁移和路由增加代码混淆
This commit is contained in:
@@ -226,6 +226,12 @@ class Dist extends Command
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
$traverser_var_faker = new NodeTraverser();
|
||||
$traverser_var_faker->addVisitor(new NodeFakeVarVisitorTools);
|
||||
|
||||
$file_stmts = $traverser_var_faker->traverse($file_stmts);
|
||||
|
||||
$function_code = $prettyPrinter->prettyPrintFile($file_stmts);
|
||||
|
||||
$this->distFilesystem->put($item_file['path'], $function_code);
|
||||
@@ -285,9 +291,14 @@ class Dist extends Command
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
$file_stmts = $traverser->traverse($file_stmts);
|
||||
|
||||
$traverser_var_faker = new NodeTraverser();
|
||||
$traverser_var_faker->addVisitor(new NodeFakeVarVisitorTools);
|
||||
|
||||
$file_stmts = $traverser_var_faker->traverse($file_stmts);
|
||||
|
||||
|
||||
$function_code = $prettyPrinter->prettyPrintFile($file_stmts);
|
||||
|
||||
$this->distFilesystem->put($item_file['path'], $function_code);
|
||||
|
||||
Reference in New Issue
Block a user